From: Omar Sandoval Date: Wed, 16 Nov 2016 00:34:01 +0000 (-0800) Subject: xfs/298: cd to / instead of ~ X-Git-Tag: v2022.05.01~2298 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9c5a3fa344a87fd6b9bf6989cd9ef880c97104f5;p=users%2Fhch%2Fxfstests-dev.git 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 Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/298 b/tests/xfs/298 index 770252670..26fb5c86e 100755 --- a/tests/xfs/298 +++ b/tests/xfs/298 @@ -80,7 +80,7 @@ while [ $SIZE -lt 1024 ];do # 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"