tests: add tests for basename's --zero option
authorBernhard Voelker <mail@bernhard-voelker.de>
Thu, 20 Dec 2012 15:38:56 +0000 (16:38 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Thu, 20 Dec 2012 15:38:56 +0000 (16:38 +0100)
commit0568f72d2a09b247176b9ad162e41e3a475a1d53
treeb7a30afc983e6229298193e585d24a09c0c5052a
parentc388053e144f6ae00836ccb9d0b6b895ce129072
tests: add tests for basename's --zero option

The -z option has been introduced in commit v8.15-60-ga3eb71a,
i.e. in coreutils-8.16.  Time to add some tests for it.

* tests/misc/basename.pl: Add tests exercising the -z option.
In the foreach loop to append a newline to the end of each
expected 'OUT' string, skip the -z tests.
tests/misc/basename.pl