You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line of rwtest clears dir and dfOpts options if it is a symlink because a symlink to busybox does not take options as described in the comments. But we see cases with a symlink to df.coreutils which works well with options.
I think more granular check is needed like
- if test -h $(which df)
- then
- dir=""; dfOpts="";
- fi
+ if [[ "$(readlink -f "$(which df)")" == *"busybox"* ]]
+ then
+ dir=""; dfOpts="";
+ fi
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
ltp/testcases/kernel/fs/doio/rwtest
Line 332 in 51b8995
This line of rwtest clears dir and dfOpts options if it is a symlink because a symlink to busybox does not take options as described in the comments. But we see cases with a symlink to df.coreutils which works well with options.
I think more granular check is needed like
Thanks
The text was updated successfully, but these errors were encountered: