summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-06-20 09:05:53 +0000
committerFrancois Pons <fpons@mandriva.com>2002-06-20 09:05:53 +0000
commitddd7a01c179588e9af4a28bce4b6b41c3324e5d2 (patch)
tree227f1f6999b3c729fce4ebaa9364189b544c8b6d /test
parent887d931e41c313033a93d24601a91e5f33afe326 (diff)
downloadurpmi-ddd7a01c179588e9af4a28bce4b6b41c3324e5d2.tar
urpmi-ddd7a01c179588e9af4a28bce4b6b41c3324e5d2.tar.gz
urpmi-ddd7a01c179588e9af4a28bce4b6b41c3324e5d2.tar.bz2
urpmi-ddd7a01c179588e9af4a28bce4b6b41c3324e5d2.tar.xz
urpmi-ddd7a01c179588e9af4a28bce4b6b41c3324e5d2.zip
3.5-8mdk
Diffstat (limited to 'test')
-rw-r--r--test/bugkernel22.tar.bz2bin0 -> 242435 bytes
-rwxr-xr-xtest/do_alltests22
2 files changed, 22 insertions, 0 deletions
diff --git a/test/bugkernel22.tar.bz2 b/test/bugkernel22.tar.bz2
new file mode 100644
index 00000000..dd96ded9
--- /dev/null
+++ b/test/bugkernel22.tar.bz2
Binary files differ
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