After commit 33a4adff42a0f4f8310774bb689f42912505b51c
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]>
---
 .../ext4-persist-prealloc/ext4_persist_prealloc_test.sh                 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh
 
b/testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh
index 985df41..e2b81a2 100755
--- 
a/testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh
+++ 
b/testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh
@@ -55,7 +55,7 @@ ext4_test_persist_prealloc()
                fi
 
                temp_tmpdir=$TMPDIR
-               TMPDIR=mnt_point; fallocate0${i} > /dev/null 2>&1
+               TMPDIR=${PWD}/mnt_point; fallocate0${i} > /dev/null 2>&1
                ret=$?
                TMPDIR=$temp_tmpdir
 
-- 
1.9.3




------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to