diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-09 18:15:49 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-09 18:30:59 -0400 |
commit | 6b772f881dd8bb1a2a40181e6c76187c9c847c30 (patch) | |
tree | d9f2c1204f5a884233c6da32fd74fe8276fdcc00 /test/librexgettext.d/it_handles_multiple_skipped_flags.sh | |
parent | 5dfaaed8f7002ee1385c93fa14647ff128138f12 (diff) |
test: librexgettext: Add tests
Diffstat (limited to 'test/librexgettext.d/it_handles_multiple_skipped_flags.sh')
-rw-r--r-- | test/librexgettext.d/it_handles_multiple_skipped_flags.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/librexgettext.d/it_handles_multiple_skipped_flags.sh b/test/librexgettext.d/it_handles_multiple_skipped_flags.sh new file mode 100644 index 0000000..3b4dcee --- /dev/null +++ b/test/librexgettext.d/it_handles_multiple_skipped_flags.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +. libremessages + +flag "-a $(_ OPTARG)" 'Flag 1' \ + '-b' 'Flag 2' \ + "-c $(_ OPTARG)" 'Flag 3' \ + "-d $(_ OPTARG)" 'Flag 4' \ + "-e $(_ OPTARG)" 'Flag 5' \ + "-f $(_ OPTARG)" 'Flag 6' \ + "-g $(_ OPTARG)" 'Flag 7' \ + "-h $(_ OPTARG)" 'Flag 8' + +flag "-A $(_ OPTARG)" 'FLAG 1' \ + '-B' 'FLAG 2' + +flag '-1' 'FLAG A' \ + '-2' 'FLAG B' |