mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-22 17:16:06 +00:00
Make CLI usage easier
This commit is contained in:
parent
974d7d3924
commit
0c28a4ffe6
@ -61,7 +61,10 @@ my $script;
|
||||
my @scripts = ( );
|
||||
my @auth = ( "--user", "user1:user1" );
|
||||
|
||||
if ( !defined($testdef) ) {
|
||||
# Allow easier pasting of tests on the command line.
|
||||
$case =~ s/\.test$//;
|
||||
|
||||
if ( ! defined($testdef) ) {
|
||||
$testdef = "tests/$suite/$case.test";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user