Message ID | 151e7c9999ff4680ee8456a75c5a527dede906fe.1479256416.git.osandov@fb.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Nov 15, 2016 at 04:34:01PM -0800, Omar Sandoval wrote: > From: Omar Sandoval <osandov@fb.com> > > 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> > --- > tests/xfs/298 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/xfs/298 b/tests/xfs/298 > index 7702526..26fb5c8 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 / How about do this: while ... pushd $SCRATCH_MNT >/dev/null ... ... popd >/dev/null ... done Thanks, Zorro > _scratch_unmount >/dev/null 2>&1 > _scratch_xfs_db -c "inode $inode" -c "p core.nextents" > > -- > 2.10.2 > > -- > To unsubscribe from this list: send the line "unsubscribe fstests" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/tests/xfs/298 b/tests/xfs/298 index 7702526..26fb5c8 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"