dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add .travis.yml file and missing test
[command.git]
/
tests
/
command
/
understand_void_option.test
1
#!/bin/sh
2
3
TEST_VOID=$($srcdir/command/option_test_command void)
4
5
if [ "$TEST_VOID" = "VOID" ]; then
6
return 0;
7
fi
8
9
echo "Command should understand Option<void> (switch). Expecting output: 'VOID', got: '$TEST_VOID'. Program exited with $? code."
10
return 1;