summaryrefslogtreecommitdiff
path: root/tests/rpmgeneral.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rpmgeneral.at')
-rw-r--r--tests/rpmgeneral.at15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/rpmgeneral.at b/tests/rpmgeneral.at
index 1b7ca452a..9159db7d1 100644
--- a/tests/rpmgeneral.at
+++ b/tests/rpmgeneral.at
@@ -35,6 +35,21 @@ AT_CHECK([runroot rpmbuild --version],[0],
])
AT_CLEANUP
+# Check that libtool versioning matches expectations, it's easy to screw up.
+AT_SETUP([rpm library version])
+AT_KEYWORDS([basic])
+AT_SKIP_IF(test -f "${RPMTEST}/${RPMLIBDIR}/librpm.a")
+AT_CHECK([
+cd ${RPMTEST}/${RPMLIBDIR}
+ls lib*.so.*.*
+],
+[0],
+[librpm.so.9.1.2
+librpmbuild.so.9.1.2
+librpmio.so.9.1.2
+librpmsign.so.9.1.2
+])
+AT_CLEANUP
# ------------------------------
AT_SETUP([rpm --showrc])