]> granicus.if.org Git - libevent/commitdiff
Avoid test -e; older shs don't have one.
authorNick Mathewson <nickm@torproject.org>
Thu, 2 Aug 2012 19:02:27 +0000 (15:02 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 2 Aug 2012 19:02:27 +0000 (15:02 -0400)
Reported by Paul Croome.

Report forwarded by Dave Hart.

test/test.sh

index d1e7e33645e3d4fbed14943d1a0bb8a3cb25f009..610a2795eedbc9ae09427442a72ad6c90086f55c 100755 (executable)
@@ -33,7 +33,7 @@ if test -x "$T/test-init"
 then
        TEST_DIR="$T"
 fi
-if test -e "$T/check-dumpevents.py"
+if test -f "$T/check-dumpevents.py"
 then
        TEST_SRC_DIR="$T"
 fi