projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fe5ab7
)
commandline.test: Adding test that fetching non-existing config setting really fails.
author
Sven-Haegar Koch
<haegar@sdinet.de>
Thu, 7 Aug 2014 20:14:20 +0000
(22:14 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 7 Aug 2014 21:02:12 +0000
(23:02 +0200)
test/commandline.test
patch
|
blob
|
history
diff --git
a/test/commandline.test
b/test/commandline.test
index e95c953509f8acf2f839e3308b2bbd94e2d47a76..157eb54c41976a40196c258115ca985aa552ea10 100755
(executable)
--- a/
test/commandline.test
+++ b/
test/commandline.test
@@
-44,6
+44,7
@@
$tinc $c1 --net foo get name
# Test tinc command line options that should not work
+$tinc $c1 -n foo get somethingreallyunknown && exit 1 || true
$tinc $c1 --net && exit 1 || true
$tinc $c1 --net get name && exit 1 || true
$tinc $c1 foo && exit 1 || true