← Commit list

9052600fe

Mike Frysinger
Mike Frysinger
2009-04-06
FAILED Duration: 30s

Subject

fix redir1 tests -- usleep isnt standard in $PATH

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush_test/hush-misc/redir1.tests+3 -1
@@ -19,7 +19,9 @@ test -f shell_test_$$ && echo "File created:ok"
rm shell_test_$$ 2>/dev/null
var=ok
{ var=bad >shell_test_$$; } &
-usleep 100000
+# cant use usleep as it isnt standard in $PATH --
+# we fail when testing busybox compiled solely as "hush"
+sleep 1
echo "Test 4: var:$var"
test -f shell_test_$$ && echo "File created:ok"