Blame tests/p_busybox/10_test_busybox.sh

Rene Diepstraten 919c23
#!/bin/bash
Christoph Galuschka 886019
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka 886019
# Author: Christoph Galuschka <christoph.galuschka@chello.at>
Rene Diepstraten 919c23
# Author: Rene Diepstraten <rene@renediepstraten.nl>
Rene Diepstraten 919c23
Rene Diepstraten 919c23
[[ $centos_ver -ge 7 ]] && exit
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