summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/zfs-tests/tests/functional/write_dirs/setup.ksh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/write_dirs/setup.ksh b/tests/zfs-tests/tests/functional/write_dirs/setup.ksh
index 14f60c9e5..49d5f7aa5 100755
--- a/tests/zfs-tests/tests/functional/write_dirs/setup.ksh
+++ b/tests/zfs-tests/tests/functional/write_dirs/setup.ksh
@@ -37,7 +37,7 @@ export SIZE="1gb"
if is_linux; then
export SLICE_PREFIX="p"
- export SLICE=1
+ export SLICE=0
else
export SLICE_PREFIX="s"
export SLICE=0
@@ -51,4 +51,7 @@ DISK=${DISKS%% *}
log_must set_partition $SLICE "" $SIZE $DISK
+if is_linux; then
+ export SLICE=1
+fi
default_setup "${DISK}${SLICE_PREFIX}${SLICE}"