xfs/298: cd to / instead of ~

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>
This commit is contained in:
Omar Sandoval
2016-11-15 16:34:01 -08:00
committed by Eryu Guan
parent 1b244cdab2
commit 9c5a3fa344
+1 -1
View File
@@ -80,7 +80,7 @@ while [ $SIZE -lt 1024 ];do
# remove the symlink - make sure ifree removes the remote symlink. # remove the symlink - make sure ifree removes the remote symlink.
rm $SYMLINK_FILE rm $SYMLINK_FILE
# umount and check the number of extents on the inode. Should be 0. # umount and check the number of extents on the inode. Should be 0.
cd cd /
_scratch_unmount >/dev/null 2>&1 _scratch_unmount >/dev/null 2>&1
_scratch_xfs_db -c "inode $inode" -c "p core.nextents" _scratch_xfs_db -c "inode $inode" -c "p core.nextents"