From 9c5a3fa344a87fd6b9bf6989cd9ef880c97104f5 Mon Sep 17 00:00:00 2001 From: Omar Sandoval Date: Tue, 15 Nov 2016 16:34:01 -0800 Subject: [PATCH] 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 --- tests/xfs/298 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/298 b/tests/xfs/298 index 77025267..26fb5c86 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" -- 2.47.3