← Commit list

ff64fb9e3

Mike Frysinger
Mike Frysinger
2009-06-01
FAILED Duration: 34s

Subject

hush_test: filter test output to avoid C lib differences

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/run-all+4 -0
@@ -52,6 +52,10 @@ do_test()
# echo Running test: "$x"
(
"$THIS_SH" "./$x" >"$name.xx" 2>&1
+ # filter C library differences
+ sed -i \
+ -e "/: invalid option /s:'::g" \
+ "$name.xx"
test $? -eq 77 && rm -f "../$1-$x.fail" && exit 77
diff -u "$name.xx" "$name.right" >"../$1-$x.fail" && rm -f "$name.xx" "../$1-$x.fail"
)