You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_busybox/10_test_busybox.sh

17 lines
456 B

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