← Commit list

d40fa397e

Denis Vlasenko
Denis Vlasenko
2009-04-20
FAILED Duration: 30s

Subject

hush: add two testcases

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-bugs/env_and_func.right+2 -0
@@ -0,0 +1,2 @@
+var=val
+var=old
shell/hush_test/hush-bugs/env_and_func.tests+6 -0
@@ -0,0 +1,6 @@
+# UNFIXED BUG
+
+var=old
+f() { echo "var=$var"; }
+var=val f
+echo "var=$var"
shell/hush_test/hush-misc/func_args1.right+5 -0
@@ -0,0 +1,5 @@
+params: a b c
+'f 1 2 3' called
+params: a b c
+'f 1 2 3' called
+params: a b c
shell/hush_test/hush-misc/func_args1.tests+10 -0
@@ -0,0 +1,10 @@
+# UNFIXED BUG
+
+f() { echo "'f $1 $2 $3' called"; }
+
+set -- a b c
+echo "params: $1 $2 $3"
+f 1 2 3
+echo "params: $1 $2 $3"
+true | f 1 2 3
+echo "params: $1 $2 $3"