diff --git a/t/02-init.t b/t/02-init.t index 18c6aef45bb51e54fc746886b47cb4b7240b3e81..2bf969c37a2e4b6e7ed724632b693f010c743cfc 100644 --- a/t/02-init.t +++ b/t/02-init.t @@ -24,6 +24,7 @@ use_ok("SLUB::LZA::TA::Crypt"); is(SLUB::LZA::TA::Crypt::encrypt("199fc76b9d086d8937976634e93413bcd005d941"), "839852bed005a7f1237578a6ac1197c142f7d0dd58bb248446dc7849d4bf770902e7f980ad83d39008ad638bc41e2345", "ta-tool, init, check encryption"); is(SLUB::LZA::TA::Crypt::decrypt("839852bed005a7f1237578a6ac1197c142f7d0dd58bb248446dc7849d4bf770902e7f980ad83d39008ad638bc41e2345"), "199fc76b9d086d8937976634e93413bcd005d941", "ta-tool, init, check encryption"); ok($testapp, "init 'ta-tool'"); + foreach my $param ("help init", "init -h", "init --help") { $testapp->run(args => $param); #say "STDOUT:",$testapp->stdout; @@ -33,7 +34,6 @@ foreach my $param ("help init", "init -h", "init --help") { is($? >> 8, 0, "ta-tool $param, exit status"); } - $testapp->run( stdin => <<_EOF_, lza