Make CLI usage easier

This commit is contained in:
Andrew Ruthven 2024-02-25 12:23:27 +13:00
parent 974d7d3924
commit 0c28a4ffe6

View File

@ -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";
}