aboutsummaryrefslogtreecommitdiff
path: root/tests/005-missing_argument_for_option.sh
blob: 26569bc6597eac0e5c661140e30cf58115366f55 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

source ./assert.sh

PROGRAM_EXEC="$1"

assert "Usage" "missing argument for option '-B'" 1 $PROGRAM_EXEC backup -B

assert "Usage" "missing argument for option '-B'" 1 $PROGRAM_EXEC restore -B

exit 0