view more/ @ 1621:c23377891141

Make smoketest work slightly less badly.
author Rob Landley <>
date Sat, 24 Aug 2013 05:51:12 -0500
parents ce5212c0fc05
children a4823c561e28
line wrap: on
line source


# This script compiles stuff under the final system, using distcc to call out
# to the cross compiler.  It calls run-from-build with a here document.

# Note that the first line of the script is a few spaces followed by a comment
# character.  This gives some harmless data for the linux boot process (serial
# initialization) to consume and discard before it gets to the command prompt.
# (The comment character is just so you can see how much got eaten.)

# If you cat your own script into, you probably also need
# to start with a line of spaces like that.  Just FYI.

  sleep 10
  echo df
  sleep 1
  echo gcc -s /usr/src/thread-hello2.c -lpthread -o /tmp/hello
  sleep 5
  echo /tmp/hello
  sleep 1
  echo exit
sayhello | more/ 60 more/ "$1"