public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* generic/401: Test mountpoint not subdir for filetype support
@ 2017-06-23 15:58 Eric Sandeen
  2017-06-23 16:12 ` [PATCH] " Eric Sandeen
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2017-06-23 15:58 UTC (permalink / raw)
  To: fstests

With pending changes for xfs_info/xfs_growfs, the tool
now requires an actual mount point to work properly.

Change this test to test $SCRATCH_MNT not the subdir
beneath it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---


diff --git a/tests/generic/401 b/tests/generic/401
index 04bd1a5..74f2bea 100755
--- a/tests/generic/401
+++ b/tests/generic/401
@@ -79,7 +79,7 @@ mknod $testdir/p p
 src/t_dir_type $testdir d | grep -F '.' | sort
 
 # Test that either all file types are unknown or all are correct
-if _supports_filetype $testdir; then
+if _supports_filetype $SCRATCH_MNT; then
 	# print real file types
 	src/t_dir_type $testdir | grep -vF '.' | sort
 else


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-26  3:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-23 15:58 generic/401: Test mountpoint not subdir for filetype support Eric Sandeen
2017-06-23 16:12 ` [PATCH] " Eric Sandeen
2017-06-23 17:20   ` Bill O'Donnell
2017-06-26  3:59   ` Eryu Guan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox