mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Rich Johnston
parent
1d5d46db80
commit
401680a11c
+5
-4
@@ -22,6 +22,7 @@
|
||||
#-----------------------------------------------------------------------
|
||||
#
|
||||
|
||||
seqfull=$0
|
||||
seq=`basename $0`
|
||||
seqres=$RESULT_DIR/$seq
|
||||
seqres=$RESULT_DIR/$seq
|
||||
@@ -55,7 +56,7 @@ _require_scratch
|
||||
_require_v2log
|
||||
|
||||
# link correct .out file
|
||||
_link_out_file $seq.op
|
||||
_link_out_file $seq.op $seqfull.op
|
||||
|
||||
|
||||
echo "*** init FS"
|
||||
@@ -90,13 +91,13 @@ do
|
||||
_check_log
|
||||
|
||||
_print_operation
|
||||
_cmp_op_output $seq.op $filtered
|
||||
_cmp_op_output $seqfull.op $filtered
|
||||
|
||||
_print_transaction_inode $start_blk
|
||||
_cmp_output $seq.trans_inode $filtered
|
||||
_cmp_output $seqfull.trans_inode $filtered
|
||||
|
||||
_print_transaction_buf $start_blk
|
||||
_cmp_output $seq.trans_buf $filtered
|
||||
_cmp_output $seqfull.trans_buf $filtered
|
||||
done
|
||||
|
||||
# got thru it all so we may have success
|
||||
|
||||
Reference in New Issue
Block a user