scoutfs-tests: fix t_require_mounts

t_require_mounts never actually did anything because bash is the best.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2019-12-16 16:34:23 -08:00
committed by Zach Brown
parent 89fcb207a7
commit 7dc3d7d732

View File

@@ -18,7 +18,7 @@ t_require_commands() {
# make sure that we have at least this many mounts
#
t_require_mounts() {
local req="1"
local req="$1"
test "$T_NR_MOUNTS" -ge "$req" || \
t_fail "$req mounts required, only have $T_NR_MOUNTS"