From ddd7a01c179588e9af4a28bce4b6b41c3324e5d2 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 20 Jun 2002 09:05:53 +0000 Subject: 3.5-8mdk --- test/do_alltests | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 test/do_alltests (limited to 'test/do_alltests') diff --git a/test/do_alltests b/test/do_alltests new file mode 100755 index 00000000..90ef6ae9 --- /dev/null +++ b/test/do_alltests @@ -0,0 +1,22 @@ +#!/bin/sh + +LANGUAGE=C +LANG=C +export LANGUAGE +export LANG + +for t in *.tar.bz2; do + rm -rf tmp + mkdir tmp + cd tmp + tar xvfj ../$t + dir=$(dirname $(find . -name dotest)) + cd $dir + ./dotest || exit 1 + perl -pi -e 's/.*urpmi called with.*//' urpmi_env.log urpmi_env_correct.log + diff urpmi_env.log urpmi_env_correct.log || exit 2 + cd - + cd .. +done + +rm -rf tmp -- cgit v1.2.1