Whamcloud - gitweb
tests: for mktemp the exes must be the final characters of the name
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 9 Jun 2014 14:17:39 +0000 (10:17 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 4 Jul 2014 20:39:49 +0000 (16:39 -0400)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/scripts/resize_test

index c9a7a1c..1e5756c 100755 (executable)
@@ -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