aboutsummaryrefslogtreecommitdiff
path: root/tests/005-missing_argument_for_option.sh
blob: 6fdf18e5a7a749dcbbee3092fe86707fac700e6b (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 create -B

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

exit 0