summaryrefslogtreecommitdiff
path: root/RunTest
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-08-26 16:17:55 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-08-26 16:17:55 +0000
commit583cb7af384d4ee223eb19b3838a3c5bc849b997 (patch)
tree54afa6307f64c6257f82a6aeca42b78020dbb1c7 /RunTest
parentadb57cee9416b491993c440adf20534d4e571a50 (diff)
downloadpcre-583cb7af384d4ee223eb19b3838a3c5bc849b997.tar.gz
Style tidies to some scripts.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1016 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'RunTest')
-rwxr-xr-xRunTest3
1 files changed, 2 insertions, 1 deletions
diff --git a/RunTest b/RunTest
index 21ff215..b9a0456 100755
--- a/RunTest
+++ b/RunTest
@@ -155,7 +155,8 @@ done
# Set up a suitable "diff" command for comparison. Some systems
# have a diff that lacks a -u option. Try to deal with this.
-if diff -u /dev/null /dev/null; then cf="diff -u"; else cf="diff"; fi
+cf="diff"
+diff -u /dev/null /dev/null 2>/dev/null && cf="diff -u"
# Find the test data