Skip to content
Snippets Groups Projects
Commit 5c815d06 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- added notes

parent ced0e983
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ is(SLUB::LZA::TA::Crypt::encrypt("199fc76b9d086d8937976634e93413bcd005d941"), "8 ...@@ -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"); is(SLUB::LZA::TA::Crypt::decrypt("839852bed005a7f1237578a6ac1197c142f7d0dd58bb248446dc7849d4bf770902e7f980ad83d39008ad638bc41e2345"), "199fc76b9d086d8937976634e93413bcd005d941", "ta-tool, init, check encryption");
ok($testapp, "init 'ta-tool'"); ok($testapp, "init 'ta-tool'");
note "help check";
foreach my $param ("help init", "init -h", "init --help") { foreach my $param ("help init", "init -h", "init --help") {
$testapp->run(args => $param); $testapp->run(args => $param);
#say "STDOUT:",$testapp->stdout; #say "STDOUT:",$testapp->stdout;
...@@ -34,13 +35,14 @@ foreach my $param ("help init", "init -h", "init --help") { ...@@ -34,13 +35,14 @@ foreach my $param ("help init", "init -h", "init --help") {
is($? >> 8, 0, "ta-tool $param, exit status"); is($? >> 8, 0, "ta-tool $param, exit status");
} }
note "init check";
$testapp->run( $testapp->run(
stdin => <<_EOF_, stdin => <<_EOF_,
lza lza
199fc76b9d086d8937976634e93413bcd005d941 199fc76b9d086d8937976634e93413bcd005d941
199fc76b9d086d8937976634e93413bcd005d941 199fc76b9d086d8937976634e93413bcd005d941
_EOF_ _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', #args => 'init -e sdvlzaamtestfotothek01.slub-dresden.de -l /tmp',
); );
#say "STDOUT:",$testapp->stdout; #say "STDOUT:",$testapp->stdout;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment