public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: only run 197 on 32-bit machines
@ 2009-01-15  2:08 Eric Sandeen
  2009-01-15  5:14 ` Felix Blyakher
  2009-01-18 17:17 ` Christoph Hellwig
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Sandeen @ 2009-01-15  2:08 UTC (permalink / raw)
  To: xfs-oss; +Cc: Christoph Hellwig

Don't run test 197 on 64-bit machines

If it always passes on 64 bits, this gives a false
sense of security.  Make it obvious.

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

diff --git a/197 b/197
index 4c81941..f77bfa2 100644
--- a/197
+++ b/197
@@ -37,6 +37,10 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fs xfs
 _supported_os Linux
 
+bitsperlong=`src/feature -w`
+if [ "$bitsperlong" -ne 32 ]; then
+	_notrun "This test is only valid on 32 bit machines"
+fi
 
 mkdir $TEST_DIR/ttt
 for n in {1..168}; do


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2009-01-18 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15  2:08 [PATCH] xfstests: only run 197 on 32-bit machines Eric Sandeen
2009-01-15  5:14 ` Felix Blyakher
2009-01-18 17:17 ` Christoph Hellwig
2009-01-18 19:27   ` Eric Sandeen

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