summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc')
-rwxr-xr-xtests/misc/basename4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc/basename b/tests/misc/basename
index fefe58c79..d0ab57bf6 100755
--- a/tests/misc/basename
+++ b/tests/misc/basename
@@ -47,6 +47,10 @@ my @Tests =
['h', qw(///), {OUT => '/'}],
['i', qw(///a///), {OUT => 'a'}],
['j', qw(''), {OUT => ''}],
+ ['k', qw(aa a), {OUT => 'a'}],
+ ['l', qw(-a a b), {OUT => "a\nb"}],
+ ['m', qw(-s a aa ba ab), {OUT => "a\nb\nab"}],
+ ['n', qw(a-a -a), {OUT => 'a'}],
['1', qw(f.s .s), {OUT => 'f'}],
['2', qw(fs s), {OUT => 'f'}],
['3', qw(fs fs), {OUT => 'fs'}],