]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
none/tests/shell: An attempt to compensate for variations in bash error messages
authorBart Van Assche <bvanassche@acm.org>
Sun, 9 Oct 2011 08:48:22 +0000 (08:48 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 9 Oct 2011 08:48:22 +0000 (08:48 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12129

none/tests/Makefile.am
none/tests/filter_shell_output [new file with mode: 0755]
none/tests/shell.vgtest

index 097adb8d94380f76b0f8e4897a3199970c25e521..4b1c117c3887315a39f50ae53ccb9e8063e73cd8 100644 (file)
@@ -44,6 +44,7 @@ dist_noinst_SCRIPTS = \
        filter_fdleak \
        filter_linenos \
        filter_none_discards \
+       filter_shell_output \
        filter_stderr \
        filter_timestamp
 
diff --git a/none/tests/filter_shell_output b/none/tests/filter_shell_output
new file mode 100755 (executable)
index 0000000..3678250
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+"$(dirname $0)"/filter_linenos | sed 's/Is a directory/is a directory/'
index bc6695012b1430755d11dd98b5bce9ec986568bf..5236f5debece842165fc2becf7eeb22b1f9f81c9 100644 (file)
@@ -1,3 +1,3 @@
 prog: shell
-stderr_filter: filter_linenos
+stderr_filter: filter_shell_output
 vgopts: -q