commit bb4aa6f01a066bb5b35fc8aed08a0ecfa8334eb3
parent f0b53fdfca55c00bbefdd5ba09e90860ffd6215d
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Sat, 13 Aug 2016 12:53:06 +0200
20-config.t: add comments about which tests are where
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/t/20-config.t b/t/20-config.t
@@ -10,6 +10,7 @@ use Test::Sbotools qw/ sboconfig /;
plan tests => 9;
+# 1-7: test invalid arguments
sboconfig '-c', 'invalid', { exit => 1, expected => "You have provided an invalid parameter for -c\n" };
sboconfig '-d', 'invalid', { exit => 1, expected => "You have provided an invalid parameter for -d\n" };
sboconfig '-j', 'invalid', { exit => 1, expected => "You have provided an invalid parameter for -j\n" };
@@ -18,6 +19,7 @@ sboconfig '-s', 'invalid', { exit => 1, expected => "You have provided an invali
sboconfig '-o', 'invalid', { exit => 1, expected => "You have provided an invalid parameter for -o\n" };
sboconfig '-V', 'invalid', { exit => 1, expected => "You have provided an invalid parameter for -V\n" };
+# 8-9: move original dir away and run tests on the config file
SKIP: {
skip "Only run this test under Travis CI", 2 unless $ENV{TRAVIS};