mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-06 12:06:26 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user