From: Ben Pfaff Date: Mon, 11 Apr 2016 00:45:13 +0000 (-0700) Subject: tests: Fix error message when using a wrapper for the first time. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=604454f8e84b72445b345c14c9b63bb5607a4c7f;hp=f82cc784a83466f785934527673ccd23c23f8285;p=pspp tests: Fix error message when using a wrapper for the first time. --- diff --git a/tests/testsuite.in b/tests/testsuite.in index be9aa305f3..ef11e91931 100644 --- a/tests/testsuite.in +++ b/tests/testsuite.in @@ -9,7 +9,7 @@ m4_ifndef([AT_SKIP_IF], m4_divert_text([PREPARE_TESTS], [dnl if test X"$RUNNER" != X; then wrapper_dir=`pwd`/wrappers - rm "$wrapper_dir"/* + rm -f "$wrapper_dir"/* test -d "$wrapper_dir" || mkdir "$wrapper_dir" wrap_dir () {