]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add testcase. Should have been in r15429.
authorFlorian Krohm <florian@eich-krohm.de>
Tue, 21 Jul 2015 21:49:06 +0000 (21:49 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Tue, 21 Jul 2015 21:49:06 +0000 (21:49 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15431

none/tests/scripts/bug338606 [new file with mode: 0755]
none/tests/scripts/bug338606.stderr.exp [new file with mode: 0644]
none/tests/scripts/bug338606.vgtest [new file with mode: 0644]

diff --git a/none/tests/scripts/bug338606 b/none/tests/scripts/bug338606
new file mode 100755 (executable)
index 0000000..4b38739
--- /dev/null
@@ -0,0 +1,4 @@
+#!usr/bin/perl
+
+print "hello\n";
+exit 0;
diff --git a/none/tests/scripts/bug338606.stderr.exp b/none/tests/scripts/bug338606.stderr.exp
new file mode 100644 (file)
index 0000000..3f15067
--- /dev/null
@@ -0,0 +1 @@
+valgrind: ./bug338606: bad interpreter: No such file or directory
diff --git a/none/tests/scripts/bug338606.vgtest b/none/tests/scripts/bug338606.vgtest
new file mode 100644 (file)
index 0000000..99e1f45
--- /dev/null
@@ -0,0 +1,7 @@
+# This test used to produce a most bizarre message:
+#
+#   Warning: unknown mime-type for "hello\n" -- using "application/octet-stream"
+#   Error: no such file "hello\n"
+#
+prog: bug338606
+vgopts: -q