From 324b86314af467436ea306f255ed669daa1a78f5 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Sep 06 2011 11:10:32 +0000 Subject: Fix install tree test and make it the last test (z_ prefix) --- diff --git a/tests/r_install-tree/install-tree_test.sh b/tests/r_install-tree/install-tree_test.sh deleted file mode 100755 index c2e677d..0000000 --- a/tests/r_install-tree/install-tree_test.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# Author: Athmane Madjoudj - -t_Log "Running $0 - check if the packages tree is installable." - -yum -y install \* > /tmp/yum_install_tree.log 2>&1 -ret_val=$? -# print the output of yum when it fails -[ $ret_val -ne 0 ] && tail /tmp/yum_install_tree.log - -t_CheckExitStatus $ret_val diff --git a/tests/z_install-tree/install-tree_test.sh b/tests/z_install-tree/install-tree_test.sh new file mode 100755 index 0000000..01408d3 --- /dev/null +++ b/tests/z_install-tree/install-tree_test.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Author: Athmane Madjoudj + +t_Log "Running $0 - check if the packages tree is installable." + +yum --skip-broken -y install \* > /tmp/yum_install_tree.log 2>&1 +ret_val=$? +# print the output of yum when it fails +[ $ret_val -ne 0 ] && tail /tmp/yum_install_tree.log + +t_CheckExitStatus $ret_val