ext4-new-features: modify ext4-delalloc-mballoc can not find ffsb-config file
PATCH 1/1 ext4-new-features: modify ext4-delalloc-mballoc can not find ffsb-config file
run ext4-delalloc-mballoc always hit "ffsb-config0: No such file or directory", so add $LTPROOT/testcases/bin/ for ffsb-config.
---
Hi,
ffsb ffsb-config$2 always hit "ffsb-config, No such file", I have to use absolute pathname for ffsb-config. Is it OK?
Thank you,
Zorro Lang
.../fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh +2 -2
@@ -40,7 +40,7 @@ ext4_test_remount() return fi - ffsb ffsb-config0 > /dev/null + ffsb $LTPROOT/testcases/bin/ffsb-config0 > /dev/null if [ $? -ne 0 ]; then tst_resm TFAIL "ffsb returned failure" umount mnt_point
@@ -92,7 +92,7 @@ ext4_test_delalloc_mballoc() return fi - ffsb ffsb-config$2 > /dev/null + ffsb $LTPROOT/testcases/bin/ffsb-config$2 > /dev/null if [ $? -ne 0 ]; then tst_resm TFAIL "ffsb returned failure" umount mnt_point
Signature · 10 lines
1.9.3 ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 14 lines
testcases/kernel/fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh +1
-1@@ -40,7 +40,7 @@ ext4_test_remount() return fi - ffsb ffsb-config0 > /dev/null + ffsb $LTPROOT/testcases/bin/ffsb-config0 > /dev/null if [ $? -ne 0 ]; then tst_resm TFAIL "ffsb returned failure" umount mnt_point
testcases/kernel/fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh ext4_test_delalloc_mballoc() · line 95
Quoted 5 lines
testcases/kernel/fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh +1
-1@@ -92,7 +92,7 @@ ext4_test_delalloc_mballoc() return fi - ffsb ffsb-config$2 > /dev/null + ffsb $LTPROOT/testcases/bin/ffsb-config$2 > /dev/null
These should idealy be treated as a datafiles.
So the ext4-ffsb-config/Makefile should have:
INSTALL_DIR := testcases/data/ext4-ffsb/
then the files would be installed under this path and the path to the files in the shell script above should then be $LTPROOT/testcases/data/ext4-ffsb/ffsb-config0
Can you please update the patch?
Signature · 10 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list