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