Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 16:33:26 GMT
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 169648 for review
Message-ID:  <200910211633.n9LGXQML048729@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=169648

Change 169648 by stas@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910211633.n9LGXQML048729>