PERFORCE change 169648 for review
Stanislav Sedov
stas at FreeBSD.org
Wed Oct 21 16:33:27 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=169648
Change 169648 by stas at stas_yandex on 2009/10/21 16:33:04
- Add FreeBSD-specific expectations for shell tests.
Affected files ...
.. //depot/projects/valgrind/none/tests/shell#3 edit
.. //depot/projects/valgrind/none/tests/shell.stderr.exp-freebsd#1 add
.. //depot/projects/valgrind/none/tests/shell.stdout.exp-freebsd#1 add
.. //depot/projects/valgrind/none/tests/shell_dir.stderr.exp-freebsd#1 add
Differences ...
==== //depot/projects/valgrind/none/tests/shell#3 (text+kox) ====
@@ -6,8 +6,11 @@
# Shell scripts that should fail
#----------------------------------------------------------------------------
-echo "Execute a directory"
-./x86/
+os=$(uname -s)
+if [ "${os}" != "FreeBSD" ]; then
+ echo "Execute a directory"
+ ./x86/
+fi
echo "Execute a non-executable file"
./shell.vgtest
More information about the p4-projects
mailing list