From 33f0e870670b9cefa76e2e927e0785485300c3c5 Mon Sep 17 00:00:00 2001 From: erg Date: Sat, 5 Dec 2009 22:44:05 +0000 Subject: [PATCH] Don't validate everything in no-op mode --- rtest/rtest.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtest/rtest.sh b/rtest/rtest.sh index 1e3f3b497..eebb9b439 100755 --- a/rtest/rtest.sh +++ b/rtest/rtest.sh @@ -343,6 +343,8 @@ shift $((OPTIND-1)) # Check environment and initialize +if [[ $NOOP != 1 ]] +then if [[ ! -d "$REFDIR" ]] then print -u 2 "Test data directory $REFDIR does not exist" @@ -371,6 +373,7 @@ then print -u 2 "$DIFFIMG program is not executable" exit 1 fi +fi exec 3< $TESTFILE -- 2.40.0