← Commit list

cc461736d

Denys Vlasenko
Denys Vlasenko
2010-09-10
FAILED Duration: 265s

Subject

hush: fixes to testsuite

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/export_exp.tests → shell/hush_test/hush-bugs/export_exp.tests.disabled+3 -0
@@ -1,3 +1,6 @@
+# This test shows a very special handling of export and local
+# builtins by bash.
+
v="a=aa0 b=bb0"
# only 1st arg should be expanded in multiple words
export $v c=$v
shell/hush_test/hush-trap/subshell.tests+5 -6
@@ -11,10 +11,9 @@ trap 'bad: caught WINCH' WINCH
# With TERM we'll check whether it is reset
trap 'bad: caught TERM' TERM
-# using bash, because we don't have $PPID (yet)
-(trap; bash -c 'kill -HUP $PPID'; echo Ok)
-(trap; bash -c 'kill -QUIT $PPID'; echo Ok)
-(trap; bash -c 'kill -SYS $PPID'; echo Ok)
-(trap; bash -c 'kill -WINCH $PPID'; echo Ok)
-(trap; bash -c 'kill -TERM $PPID'; echo Bad: TERM is not reset)
+(trap; "$THIS_SH" -c 'kill -HUP $PPID'; echo Ok)
+(trap; "$THIS_SH" -c 'kill -QUIT $PPID'; echo Ok)
+(trap; "$THIS_SH" -c 'kill -SYS $PPID'; echo Ok)
+(trap; "$THIS_SH" -c 'kill -WINCH $PPID'; echo Ok)
+(trap; "$THIS_SH" -c 'kill -TERM $PPID'; echo Bad: TERM is not reset)
echo Done