[PATCH] xfstests: only run 197 on 32-bit machines
Felix Blyakher
felixb at sgi.com
Wed Jan 14 23:14:22 CST 2009
On Jan 14, 2009, at 8:08 PM, Eric Sandeen wrote:
> 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.
Sounds reasonable.
>
> Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
Signed-off-by: Felix Blyakher <felixb at sgi.com>
> --
>
> 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 at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
More information about the xfs
mailing list