Home | History | Annotate | Download | only in tests

Lines Matching full:suffix

12 # Standard suffix behavior.
13 testing "basename suffix" "basename a/b/c/d.suffix .suffix" "d\n" "" ""
15 # A suffix cannot be the entire result.
16 testing "basename suffix=result" "basename .txt .txt" ".txt\n" "" ""
18 # Deal with suffix appearing in the filename
19 testing "basename reappearing suffix 1" "basename a.txt.txt .txt" "a.txt\n" "" ""
20 testing "basename reappearing suffix 2" "basename a.txt.old .txt" "a.txt.old\n" "" ""
22 # A suffix should be a real suffix, only a the end.
23 testing "basename invalid suffix" "basename isthisasuffix? suffix" "isthisasuffix?\n" "" ""