From: Sven-Haegar Koch Date: Thu, 7 Aug 2014 20:14:20 +0000 (+0200) Subject: commandline.test: Adding test that fetching non-existing config setting really fails. X-Git-Tag: release-1.1pre11~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73d8393bd6c54e0ec28d5f6c114a6eb3821a8ec1;p=oweals%2Ftinc.git commandline.test: Adding test that fetching non-existing config setting really fails. --- diff --git a/test/commandline.test b/test/commandline.test index e95c953..157eb54 100755 --- 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