Debian Codegraph @

t/t-usage.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 . "$(dirnamescip-shell system . . dirname. "$0")/testlib.sh"
4
5 begin_test "usage: no command specified"
6 (
7 set -e
8
9 gitscip-shell system . . git. lfs | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
10 gitscip-shell system . . git. lfs -h | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
11 gitscip-shell system . . git. lfs help | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
12 # Note that "git lfs --help" is handled by Git, not Git LFS.
13 gitscip-shell system . . git. lfs --foo -h | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
14 gitscip-shell system . . git. lfs --foo --help | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
15
16 git-lfs | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
17 git-lfs -h | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
18 git-lfs help | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
19 git-lfs --help | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
20 git-lfs --foo -h | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
21 git-lfs --foo --help | grepscip-shell system . . grep. 'git lfs <command> \[<args>\]'
22 )
23 end_test