echo -n "$options $stype/$dtype -> "
_setup_one $source $stype
_setup_one $dest $dtype
- src/renameat2 $source $dest $flags
+ $here/src/renameat2 $source $dest $flags
if test $? == 0; then
_showtype_one $source
echo -n "/"
local rename_dir=$TEST_DIR/$$
local cmd=""
- if test ! -x src/renameat2; then
+ if test ! -x $here/src/renameat2; then
_notrun "renameat2 binary not found"
fi
_fail "_require_renameat2: only support noreplace,exchange,whiteout rename flags"
;;
esac
- if ! src/renameat2 -t $cmd; then
+ if ! $here/src/renameat2 -t $cmd; then
rm -rf $rename_dir
_notrun "kernel doesn't support renameat2 syscall"
fi