From 919c23ff1e2ec4dcfed3ec6f6156a74100f29304 Mon Sep 17 00:00:00 2001 From: Rene Diepstraten Date: Dec 28 2013 22:20:24 +0000 Subject: busybox is not part of el7 --- diff --git a/tests/p_busybox/00_install_busybox.sh b/tests/p_busybox/00_install_busybox.sh index b2cae54..eae5d28 100755 --- a/tests/p_busybox/00_install_busybox.sh +++ b/tests/p_busybox/00_install_busybox.sh @@ -1,5 +1,8 @@ -#!/bin/sh +#!/bin/bash # Author: Christoph Galuschka +# Author: Rene Diepstraten + +[[ $centos_ver -ge 7 ]] && { t_Log "busybox is not part of el${centos_ver}" ; exit ; } t_Log "Running $0 - attempting to install busybox." t_InstallPackage busybox diff --git a/tests/p_busybox/10_test_busybox.sh b/tests/p_busybox/10_test_busybox.sh index 6e59516..e7aa2e8 100755 --- a/tests/p_busybox/10_test_busybox.sh +++ b/tests/p_busybox/10_test_busybox.sh @@ -1,6 +1,9 @@ -#!/bin/sh +#!/bin/bash # Author: Athmane Madjoudj # Author: Christoph Galuschka +# Author: Rene Diepstraten + +[[ $centos_ver -ge 7 ]] && exit t_Log "Running $0 - busybox test: busybox lists available functions." diff --git a/tests/p_busybox/20_functiontest_busybox.sh b/tests/p_busybox/20_functiontest_busybox.sh index 171b1de..6d526a4 100755 --- a/tests/p_busybox/20_functiontest_busybox.sh +++ b/tests/p_busybox/20_functiontest_busybox.sh @@ -1,6 +1,9 @@ -#!/bin/sh +#!/bin/bash # Author: Athmane Madjoudj # Author: Christoph Galuschka +# Author: Rene Diepstraten + +[[ $centos_ver -ge 7 ]] && exit t_Log "Running $0 - busybox functional tests: busybox provided functions are working."