Skip async_destroy_001_pos on 32-bit systems

The async_destroy_001_pos test case currently hangs when testing on
a 32-bit system.  Conditionally skip this test case on 32-bit
systems until the root cause is identified and resolved.

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #5352
Issue #5347
This commit is contained in:
Brian Behlendorf 2016-10-31 21:16:37 +00:00
parent 9edb36954a
commit e676a19624
2 changed files with 17 additions and 0 deletions

View File

@ -44,6 +44,19 @@ function is_linux
fi
}
# Determine if this is a 32-bit system
#
# Return 0 if platform is 32-bit, 1 if otherwise
function is_32bit
{
if [[ $(getconf LONG_BIT) == "32" ]]; then
return 0
else
return 1
fi
}
# Determine whether a dataset is mounted
#
# $1 dataset name

View File

@ -31,6 +31,10 @@
. $STF_SUITE/include/libtest.shlib
if is_32bit; then
log_unsupported "Test case fails on 32-bit systems"
fi
DISK=${DISKS%% *}
default_setup $DISK