New.
authorRalf Corsépius <corsepiu@fedoraproject.org>
Tue, 21 Aug 2007 12:51:46 +0000 (14:51 +0200)
committerRalf Corsépius <corsepiu@fedoraproject.org>
Tue, 21 Aug 2007 12:51:46 +0000 (14:51 +0200)
tests/local.at [new file with mode: 0644]

diff --git a/tests/local.at b/tests/local.at
new file mode 100644 (file)
index 0000000..0ee66b8
--- /dev/null
@@ -0,0 +1,12 @@
+AT_TESTED([rpm rpmbuild rpmquery])
+
+m4_define([RPM_INIT_DB],[
+DBPATH=`rpm --rcfile=${RPMRC} --eval '%_dbpath'`
+rm -rf "${abs_builddir}"/testing"${DBPATH}"/*
+rpm \
+  --rcfile=${RPMRC} \
+  --root="${abs_builddir}"/testing \
+  --initdb
+])
+
+AT_INIT