Mercurial > hg > aboriginal
changeset 1621:c23377891141
Make smoketest work slightly less badly.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 24 Aug 2013 05:51:12 -0500 |
parents | 3c9b927b9da8 |
children | ca0cf2dc37c2 |
files | more/smoketest.sh |
diffstat | 1 files changed, 12 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/more/smoketest.sh Sat Aug 24 05:43:29 2013 -0500 +++ b/more/smoketest.sh Sat Aug 24 05:51:12 2013 -0500 @@ -11,13 +11,15 @@ # If you cat your own script into emulator-build.sh, you probably also need # to start with a line of spaces like that. Just FYI. -more/timeout.sh 60 more/run-emulator-from-build.sh "$1" << 'EOF' - # -# Show free space -df -# Smoke test for the compiler -gcc -s /usr/src/thread-hello2.c -lpthread -o /tmp/hello && -/tmp/hello -sync -exit -EOF +sayhello() +{ + 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/timeout.sh 60 more/run-emulator-from-build.sh "$1"