Blame tests/p_busybox/10_test_busybox.sh

Christoph Galuschka 886019
#!/bin/sh
Christoph Galuschka 886019
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka 886019
# Author: Christoph Galuschka <christoph.galuschka@chello.at>
Christoph Galuschka 886019
Christoph Galuschka 886019
t_Log "Running $0 - busybox test: busybox lists available functions."
Christoph Galuschka 886019
Christoph Galuschka 886019
busybox | grep -q 'Currently defined functions'
Christoph Galuschka 886019
busy_ok=$?
Christoph Galuschka 886019
if [ $busy_ok = 1 ]
Christoph Galuschka 886019
  then
Christoph Galuschka 886019
  t_Log 'busybox does not seem to list available functions'
Christoph Galuschka 886019
fi
Christoph Galuschka 886019
t_CheckExitStatus $busy_ok