diff --git a/t/02-init.t b/t/02-init.t index 2bf969c37a2e4b6e7ed724632b693f010c743cfc..c958aa8520cf7b6855a89e2e5adb11ae03aaee5d 100644 --- a/t/02-init.t +++ b/t/02-init.t @@ -25,6 +25,7 @@ is(SLUB::LZA::TA::Crypt::encrypt("199fc76b9d086d8937976634e93413bcd005d941"), "8 is(SLUB::LZA::TA::Crypt::decrypt("839852bed005a7f1237578a6ac1197c142f7d0dd58bb248446dc7849d4bf770902e7f980ad83d39008ad638bc41e2345"), "199fc76b9d086d8937976634e93413bcd005d941", "ta-tool, init, check encryption"); ok($testapp, "init 'ta-tool'"); +note "help check"; foreach my $param ("help init", "init -h", "init --help") { $testapp->run(args => $param); #say "STDOUT:",$testapp->stdout; @@ -34,13 +35,14 @@ foreach my $param ("help init", "init -h", "init --help") { is($? >> 8, 0, "ta-tool $param, exit status"); } +note "init check"; $testapp->run( stdin => <<_EOF_, lza 199fc76b9d086d8937976634e93413bcd005d941 199fc76b9d086d8937976634e93413bcd005d941 _EOF_ - args => 'init -v -e sdvlzaamtestfotothek01.slub-dresden.de', + args => 'init -D -v -e sdvlzaamtestfotothek01.slub-dresden.de', #args => 'init -e sdvlzaamtestfotothek01.slub-dresden.de -l /tmp', ); #say "STDOUT:",$testapp->stdout;