rwtest: Remove df symlink check
PATCH v2 1/1 rwtest: Remove df symlink check
busybox has -P option since 2008. df symlink works fine with directory options in later versions. The check is not necessary.
Signed-off-by Mengchi Cheng <[email protected]>
--- testcases/kernel/fs/doio/rwtest | 6 ------ 1 file changed, 6 deletions(-)
testcases/kernel/fs/doio/rwtest +0 -6
@@ -327,12 +327,6 @@ do then blks=${szblks[$n]} else - # If df is a symlink (to busybox) then do not pass the $dir and $dfOpts - # parameters because they don't work as expected - if test -h $(which df) - then - dir=""; dfOpts=""; - fi blks=$(df $dfOpts $dir | (while read fs blks used avail cap mountpoint
Signature · 5 lines
2.25.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Petr Vorel
AppliedHi Mengchi,
merged, thanks!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp