dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
36fc4d2d181c7c3fe0c8c0b320bc99fb8f2ad7a0
[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;