From: fsgqa Date: Tue, 3 Sep 2002 06:34:06 +0000 (+0000) Subject: revert to using the pid for tmp file names - mktemp -d gives an error on X-Git-Tag: v1.1.0~1054 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=4a4f1707c39951393020f8b513ca2ad0fb185996 revert to using the pid for tmp file names - mktemp -d gives an error on early (6.2) redhat versions at least. --- diff --git a/068 b/068 index accc4fd3..f0ffff18 100755 --- a/068 +++ b/068 @@ -1,6 +1,6 @@ #! /bin/sh # XFS QA Test No. 068 -# $Id: 068,v 1.1 2002/09/02 06:04:01 nathans Exp $ +# $Id: 068,v 1.2 2002/09/03 06:34:06 fsgqa Exp $ # # Test Linux LVM snapshot creation # @@ -46,7 +46,7 @@ seq=`basename $0` echo "QA output created by $seq" here=`pwd` -tmp=`mktemp -d /tmp/xfstest.XXXXXX` || exit 1 +tmp=/tmp/$$ status=1 # failure is the default! # Either "dd" or "fsstress" can be used to generate io load.