From: Benno Schulenberg Date: Mon, 9 Jun 2014 14:17:39 +0000 (-0400) Subject: tests: for mktemp the exes must be the final characters of the name X-Git-Tag: v1.42.11~49 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9e9e7b4a027d3ce247a01e6151f7d1536b8b188f;p=tools%2Fe2fsprogs.git tests: for mktemp the exes must be the final characters of the name Signed-off-by: Benno Schulenberg Signed-off-by: Theodore Ts'o --- diff --git a/tests/scripts/resize_test b/tests/scripts/resize_test index c9a7a1c..1e5756c 100755 --- a/tests/scripts/resize_test +++ b/tests/scripts/resize_test @@ -21,7 +21,7 @@ if truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then echo "using $TMPFILE" >> $LOG else rm $TMPFILE - export TMPFILE=$(TMPDIR=. mktemp -t $test_name.XXXXXX.tmp) + export TMPFILE=$(TMPDIR=. mktemp -t $test_name.tmp.XXXXXX) touch $TMPFILE echo "using $TMPFILE" >> $LOG if ! truncate -s $SIZE_2 $TMPFILE >> $LOG 2>&1; then