From 5c815d06db7539e97115aff6444dc49f0fabd928 Mon Sep 17 00:00:00 2001 From: Andreas Romeyke <andreas.romeyke@slub-dresden.de> Date: Tue, 28 May 2024 13:49:28 +0200 Subject: [PATCH] - added notes --- t/02-init.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/02-init.t b/t/02-init.t index 2bf969c..c958aa8 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; -- GitLab