scoutfs-tests: create dir in 0 mount

When running a test we only create the test dir through one mount, but
we were off-by-one when deciding that we were iterating through the
first mount.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2019-12-11 11:21:22 -08:00
committed by Zach Brown
parent 0fee134133
commit 12b00d0058

View File

@@ -404,7 +404,7 @@ for t in $tests; do
for i in $(seq 0 $((T_NR_MOUNTS - 1))); do
dir="${T_M[$i]}/test/$test_name"
test $i == 1 && cmd mkdir -p "$dir"
test $i == 0 && cmd mkdir -p "$dir"
eval T_D$i=$dir
T_D[$i]=$dir