summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-21 17:59:03 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-21 17:59:03 +0200
commit31475056f8f03ff983ad4f640330865d7d9ef701 (patch)
tree33523729828e402feef0c508dfbee26026a0bdb2 /tests
parent217e5700c0cd76cfce32a50a11d7cb8b719dd446 (diff)
downloadlibrpm-tizen-31475056f8f03ff983ad4f640330865d7d9ef701.tar.gz
librpm-tizen-31475056f8f03ff983ad4f640330865d7d9ef701.tar.bz2
librpm-tizen-31475056f8f03ff983ad4f640330865d7d9ef701.zip
Rpm is supposed to create build tree by itself, don't help it
Diffstat (limited to 'tests')
-rw-r--r--tests/rpmbuild.at19
-rw-r--r--tests/rpmi.at4
2 files changed, 1 insertions, 22 deletions
diff --git a/tests/rpmbuild.at b/tests/rpmbuild.at
index 8a1eaa0ff..a841bce41 100644
--- a/tests/rpmbuild.at
+++ b/tests/rpmbuild.at
@@ -25,10 +25,6 @@ TOPDIR="${abs_builddir}"/testing/build
rm -rf ${TOPDIR}
AS_MKDIR_P(${TOPDIR}/SOURCES)
-AS_MKDIR_P(${TOPDIR}/BUILD)
-AS_MKDIR_P(${TOPDIR}/SPECS)
-AS_MKDIR_P(${TOPDIR}/RPMS)
-AS_MKDIR_P(${TOPDIR}/SRPMS)
cp "${abs_srcdir}"/data/SOURCES/hello-1.0.tar.gz ${TOPDIR}/SOURCES
@@ -52,11 +48,6 @@ TOPDIR="${abs_builddir}"/testing/build
rm -rf ${TOPDIR}
AS_MKDIR_P(${TOPDIR}/SOURCES)
-AS_MKDIR_P(${TOPDIR}/BUILD)
-AS_MKDIR_P(${TOPDIR}/BUILDROOT)
-AS_MKDIR_P(${TOPDIR}/SPECS)
-AS_MKDIR_P(${TOPDIR}/RPMS)
-AS_MKDIR_P(${TOPDIR}/SRPMS)
cp "${abs_srcdir}"/data/SOURCES/hello-1.0.tar.gz ${TOPDIR}/SOURCES
@@ -79,11 +70,6 @@ AT_CHECK([
TOPDIR="${abs_builddir}"/testing/build
rm -rf ${TOPDIR}
-AS_MKDIR_P(${TOPDIR}/SOURCES)
-AS_MKDIR_P(${TOPDIR}/BUILD)
-AS_MKDIR_P(${TOPDIR}/SPECS)
-AS_MKDIR_P(${TOPDIR}/RPMS)
-AS_MKDIR_P(${TOPDIR}/SRPMS)
rpmbuild \
--rcfile="${RPMRC}" \
@@ -104,11 +90,6 @@ AT_CHECK([
TOPDIR="${abs_builddir}"/testing/build
rm -rf ${TOPDIR}
-AS_MKDIR_P(${TOPDIR}/SOURCES)
-AS_MKDIR_P(${TOPDIR}/BUILD)
-AS_MKDIR_P(${TOPDIR}/SPECS)
-AS_MKDIR_P(${TOPDIR}/RPMS)
-AS_MKDIR_P(${TOPDIR}/SRPMS)
rpmbuild \
--rcfile="${RPMRC}" \
diff --git a/tests/rpmi.at b/tests/rpmi.at
index c968a32c5..70d00e0c0 100644
--- a/tests/rpmi.at
+++ b/tests/rpmi.at
@@ -1,4 +1,4 @@
-# rpmi.at: test rpm install
+# rpmi.at: test source rpm install
#
# Copyright (C) 2007 Ralf Corsépius <corsepiu@fedoraproject.org>
#
@@ -23,7 +23,6 @@ AT_CHECK([
TOPDIR="${abs_builddir}"/testing/build
rm -rf ${TOPDIR}
-AS_MKDIR_P([${TOPDIR}])
rpm \
--rcfile="${RPMRC}" \
@@ -42,7 +41,6 @@ AT_CHECK([
TOPDIR="${abs_builddir}"/testing/build
rm -rf ${TOPDIR}
-AS_MKDIR_P([${TOPDIR}])
rpm \
--rcfile="${RPMRC}" \