X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fsavescreen.sh;h=1ffab2fcc170b66855399815110647c829ace141;hb=2bcad5fdfc4aa83a1479bd1d21dadc32dad8c2a8;hp=e77bffef5d2c42c35a20ec6a055f7b5d76b358cb;hpb=79b07cae47a6fa064aa4d2ea70fe930884751eb4;p=ncurses.git diff --git a/test/savescreen.sh b/test/savescreen.sh old mode 100644 new mode 100755 index e77bffef..1ffab2fc --- a/test/savescreen.sh +++ b/test/savescreen.sh @@ -27,13 +27,13 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: savescreen.sh,v 1.7 2022/02/05 17:58:06 tom Exp $ +# $Id: savescreen.sh,v 1.8 2022/07/16 16:34:34 tom Exp $ # # Use this script to exercise "savescreen". # It starts by generating a series of temporary-filenames, which are passed # to the test-program. Loop as long as the first file named exists. -: ${TMPDIR:=/tmp} +: "${TMPDIR:=/tmp}" # "mktemp -d" would be preferable, but is not standard. MY_DIR=$TMPDIR/savescreen$$ @@ -59,7 +59,7 @@ if test -f $BEGINS then while test -f $BEGINS do - ${0%.sh} -r $PARAMS + "${0%.sh}" -r $PARAMS test $? != 0 && break done else