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

- removed deprecated code / comments

parent a311b346
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,6 @@ my $testapp = Test::Cmd->new( ...@@ -11,7 +11,6 @@ my $testapp = Test::Cmd->new(
interpreter => "$perl -I lib/ ", interpreter => "$perl -I lib/ ",
); );
local $ENV{'HOME'} = $testapp->workpath(); local $ENV{'HOME'} = $testapp->workpath();
my $config_dir = path($testapp->workpath())->child('.config'); my $config_dir = path($testapp->workpath())->child('.config');
$config_dir->mkpath(); $config_dir->mkpath();
my $config_file = $config_dir->child('ta-tool.rc'); my $config_file = $config_dir->child('ta-tool.rc');
...@@ -20,11 +19,7 @@ $cache_dir->mkpath(); ...@@ -20,11 +19,7 @@ $cache_dir->mkpath();
my $cache_file = $cache_dir->child('ta-tool.cache'); my $cache_file = $cache_dir->child('ta-tool.cache');
# tests # tests
ok($testapp, "init 'ta-tool'"); ok($testapp, "init 'ta-tool'");
# lza $testapp->run(
#199fc76b9d086d8937976634e93413bcd005d941
my $res = $testapp->run(
stdin => <<_EOF_, stdin => <<_EOF_,
lza lza
199fc76b9d086d8937976634e93413bcd005d941 199fc76b9d086d8937976634e93413bcd005d941
...@@ -32,7 +27,6 @@ lza ...@@ -32,7 +27,6 @@ lza
_EOF_ _EOF_
args => 'init -v -e sdvlzaamtestfotothek01.slub-dresden.de -l /tmp', args => 'init -v -e sdvlzaamtestfotothek01.slub-dresden.de -l /tmp',
); );
say $testapp->stderr;
like($testapp->stdout, qr/User:.*store config in /s, 'ta-tool init, stdout'); like($testapp->stdout, qr/User:.*store config in /s, 'ta-tool init, stdout');
like($testapp->stderr, qr/HINT:/, 'ta-tool init, stderr'); like($testapp->stderr, qr/HINT:/, 'ta-tool init, stderr');
unlike($testapp->stderr, qr/Error/, 'ta-tool init, stderr indicates no error'); unlike($testapp->stderr, qr/Error/, 'ta-tool init, stderr indicates no error');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment