xfstests: fix _link_out_file callers

Currently the callers pass $seq, rather than the full path to the
test. As a result, it creates the link in the top level directory
and it points nowhere.  Fix it to create the link in the correct
place.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Phil White <pwhite@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Dave Chinner
2013-03-15 12:28:03 +00:00
committed by Rich Johnston
parent 1d5d46db80
commit 401680a11c
18 changed files with 59 additions and 42 deletions
+4 -3
View File
@@ -21,6 +21,7 @@
#-----------------------------------------------------------------------
#
seqfull=$0
seq=`basename $0`
seqres=$RESULT_DIR/$seq
seqres=$RESULT_DIR/$seq
@@ -46,11 +47,11 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
bitsperlong=`src/feature -w`
# link correct .out file
rm -f $seq.out
rm -f $seqfull.out
if [ "$bitsperlong" -eq 32 ]; then
ln -s $seq.out.32 $seq.out
ln -s $seq.out.32 $seqfull.out
else
ln -s $seq.out.64 $seq.out
ln -s $seq.out.64 $seqfull.out
fi
_filter_io()