From 75183409afcaab4e83723a68d40d936335ab22e5 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 11 2012 19:26:21 +0000 Subject: added utils/package-install-list.sh: produces a file with all packages required by the tests --- diff --git a/utils/package-install-list.sh b/utils/package-install-list.sh new file mode 100644 index 0000000..9063077 --- /dev/null +++ b/utils/package-install-list.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +# author: Christoph Galuschka +# This script will create a file with all packages which get installed by the tests + +grep t_InstallPackage ../*/*/* | grep -v export | grep -v functions | egrep -v '.*\$.*' |\ +cut -d ':' -f 2 | sed 's/^ *//g' | tr -s ' ' | sed 's/t_InstallPackage/yum\ install\ \-y\ \-d0/g' > /var/tmp/t_functional_packagelist + +# running the resulting file with '/bin/bash /var/tmp/t_functional_packagelist' will install all packages required by the current tests.