diff --git a/testing/dav_test b/testing/dav_test index 403b4d16..c1d665cc 100755 --- a/testing/dav_test +++ b/testing/dav_test @@ -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"; }