[patch] testsuite/runtest: no need of dirname or basename

Denys Vlasenko vda.linux at googlemail.com
Sun Apr 27 03:54:12 UTC 2008


On Saturday 26 April 2008 17:45, Cristian Ionescu-Idbohrn wrote:
> Cheers,

Applied, except for this:

+       local tc
+
        for testcase in $tsdir/$applet/*; do
-               case $(basename "$testcase") in
+               tc=${testcase##*/}
+               case "$tc" in

This variable appears to be one-use.
--
vda



More information about the busybox mailing list