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.