summaryrefslogtreecommitdiff
path: root/testsuite/which
AgeCommit message (Collapse)Author
2014-01-23testsuite: fix last "which" changeMichael Tokarev
In commit afa63b2dcdc9b9 I replaced `type -p' with `command -pv'. But actually it is wrong, the right substitution is `command -v'. We need to find our busybox which is in the first directory in $PATH, so `command -p' should not be used because it uses default PATH, not current value of PATH where our busybox binary resides. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2013-11-10fix bashisms in testsuite/Michael Tokarev
These places use ${var/search/replace}, $((n++) and `type -p' constructs which are not-so-standard. Replace with equivalent constructs. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2004-04-06Kill off the old 'tests' stuff. Write a ton of new tests for theEric Andersen
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite 'runtest' script so it actually reports all failures and provides meaningful feedback. -Erik
2002-03-27* testsuite/which/which-uses-default-path: Remove extra echo.Matt Kraai
2002-01-14Do not segfault if PATH is unset.Matt Kraai