diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-04-01 14:44:42 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-04-01 14:44:42 +0300 |
commit | 75a9c49e642b315cfa5e6acdb62e89aa509abe4d (patch) | |
tree | 85daf251f5b092d6770919d23666276996882672 /tests | |
parent | e11575180fb7af43211747aa0c855f131de255e9 (diff) | |
download | rpm-75a9c49e642b315cfa5e6acdb62e89aa509abe4d.tar.gz rpm-75a9c49e642b315cfa5e6acdb62e89aa509abe4d.tar.bz2 rpm-75a9c49e642b315cfa5e6acdb62e89aa509abe4d.zip |
Test-suite spring cleaning
- Remove duplicate --version checks (doh) and some commented out
build tests that are unlikely to ever be implemented in reality
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rpmbuild.at | 39 | ||||
-rw-r--r-- | tests/rpmgeneral.at | 18 |
2 files changed, 0 insertions, 57 deletions
diff --git a/tests/rpmbuild.at b/tests/rpmbuild.at index 826302518..515577783 100644 --- a/tests/rpmbuild.at +++ b/tests/rpmbuild.at @@ -37,27 +37,6 @@ run rpmbuild \ AT_CLEANUP # ------------------------------ -# Check if rpmbuild -ba *.spec -# honours a relative topdir with --root -#AT_SETUP([rpmbuild --root=... -ba *.spec]) -#AT_KEYWORDS([build]) -#AT_XFAIL_IF([test $RPM_XFAIL -gt 0]) -#AT_CHECK([ -#rm -rf ${TOPDIR} -#AS_MKDIR_P(${TOPDIR}/SOURCES) -# -#cp "${abs_srcdir}"/data/SOURCES/hello-1.0.tar.gz ${TOPDIR}/SOURCES -# -#run rpmbuild \ -# --root="${abs_builddir}"/testing \ -# -ba "${abs_srcdir}"/data/SPECS/hello.spec -#], -#[0], -#[ignore], -#[ignore]) -#AT_CLEANUP - -# ------------------------------ # Check if rpmbuild --rebuild *.src.rpm works AT_SETUP([rpmbuild --rebuild]) AT_KEYWORDS([build]) @@ -73,24 +52,6 @@ run rpmbuild \ AT_CLEANUP # ------------------------------ -# Check if rpmbuild --rebuild *.src.rpm -# honours a relative topdir with --root -#AT_SETUP([rpmbuild --root=... --rebuild]) -#AT_KEYWORDS([build]) -#AT_XFAIL_IF([test $RPM_XFAIL -gt 0]) -#AT_CHECK([ -#rm -rf ${TOPDIR} -# -#run rpmbuild \ -# --root="${abs_builddir}"/testing \ -# --rebuild "${abs_srcdir}"/data/SRPMS/hello-1.0-1.src.rpm -#], -#[0], -#[ignore], -#[ignore]) -#AT_CLEANUP - -# ------------------------------ # Check if tar unpacking works AT_SETUP([rpmbuild -tb <tar with bad spec>]) AT_KEYWORDS([build]) diff --git a/tests/rpmgeneral.at b/tests/rpmgeneral.at index cd901180a..03c8d0601 100644 --- a/tests/rpmgeneral.at +++ b/tests/rpmgeneral.at @@ -37,24 +37,6 @@ AT_CLEANUP # ------------------------------ -AT_SETUP([rpm --version]) -AT_KEYWORDS([basic]) -AT_CHECK([run rpm --version],[0], -[RPM version AT_PACKAGE_VERSION -]) -AT_CLEANUP - - -# ------------------------------ -AT_SETUP([rpm --version]) -AT_KEYWORDS([basic]) -AT_CHECK([run rpm --version],[0], -[RPM version AT_PACKAGE_VERSION -]) -AT_CLEANUP - - -# ------------------------------ AT_SETUP([rpm --showrc]) AT_KEYWORDS([basic]) AT_CHECK([run rpm --showrc],[0], |