In our kernel testing infrastructure, "$HOME" isn't defined.
Everywhere else in xfstests does `cd /` instead, so let's just do
that.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
# remove the symlink - make sure ifree removes the remote symlink.
rm $SYMLINK_FILE
# umount and check the number of extents on the inode. Should be 0.
- cd
+ cd /
_scratch_unmount >/dev/null 2>&1
_scratch_xfs_db -c "inode $inode" -c "p core.nextents"