Skip to content

Commit caddfe5

Browse files
zenglgmetan-ucw
authored andcommitted
fs/ext4-new-features: Add absolute path for the test
After commit 33a4adf tests need absolute path. If not given it would return TBROK. Add an absolute path before running fallocate0${i} in ext4-new-features. Signed-off-by: Zeng Linggang <[email protected]> Acked-by: Cyril Hrubis <[email protected]>
1 parent 9225013 commit caddfe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ext4_test_persist_prealloc()
5555
fi
5656

5757
temp_tmpdir=$TMPDIR
58-
TMPDIR=mnt_point; fallocate0${i} > /dev/null 2>&1
58+
TMPDIR=${PWD}/mnt_point; fallocate0${i} > /dev/null 2>&1
5959
ret=$?
6060
TMPDIR=$temp_tmpdir
6161

0 commit comments

Comments
 (0)