From: Mark Andrews Date: Thu, 13 Oct 2011 13:03:51 +0000 (+0000) Subject: 'test -e' is not portable, use 'test -f' X-Git-Tag: v9.9.0a3^2~17 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=88112d5fcb6b9e1d0f80105a9d2a6f09440c2401;p=thirdparty%2Fbind9.git 'test -e' is not portable, use 'test -f' --- diff --git a/bin/tests/system/rpz/tests.sh b/bin/tests/system/rpz/tests.sh index 32dc2b715d4..ade9060bb3f 100644 --- a/bin/tests/system/rpz/tests.sh +++ b/bin/tests/system/rpz/tests.sh @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.7 2011/10/13 01:32:33 vjs Exp $ +# $Id: tests.sh,v 1.8 2011/10/13 13:03:51 marka Exp $ # test response policy zones (RPZ) @@ -55,7 +55,7 @@ TEST_NUM=0 make_dignm () { TEST_NUM=`expr $TEST_NUM + 1` DIGNM=dig.out$GROUP_NM-$TEST_NUM - while test -e $DIGNM; do + while test -f $DIGNM; do TEST_NUM="$TEST_NUM+" DIGNM=dig.out$GROUP_NM-$TEST_NUM done