summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-21 08:51:16 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-21 08:51:16 +0200
commited488d4181cf9db03c99dfd94524f3c8faa45391 (patch)
tree703570987cb2656db3d5a511b362bd70b8a1b6ef /tests
parenta7fec3af93d19592dc6d99ddd335aff7ad40213a (diff)
downloadlibrpm-tizen-ed488d4181cf9db03c99dfd94524f3c8faa45391.tar.gz
librpm-tizen-ed488d4181cf9db03c99dfd94524f3c8faa45391.tar.bz2
librpm-tizen-ed488d4181cf9db03c99dfd94524f3c8faa45391.zip
Add check for rpmquery -ql -p *.src.rpm.
Add check for rpmquery -ql -p *.i386.rpm
Diffstat (limited to 'tests')
-rw-r--r--tests/rpmquery.at30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/rpmquery.at b/tests/rpmquery.at
index f6642d395..f00d52325 100644
--- a/tests/rpmquery.at
+++ b/tests/rpmquery.at
@@ -41,3 +41,33 @@ rpmquery \
],
[ignore])
AT_CLEANUP
+
+AT_SETUP([rpmquery -ql -p *.src.rpm])
+AT_CHECK([
+rpmquery \
+ --rcfile=${RPMRC} \
+ -ql \
+ -p "${abs_srcdir}"/data/SRPMS/hello-1.0-1.src.rpm
+],
+[0],
+[hello-1.0.tar.gz
+hello.spec
+],
+[ignore])
+AT_CLEANUP
+
+AT_SETUP([rpmquery -ql -p *.i386.rpm])
+AT_CHECK([
+rpmquery \
+ --rcfile=${RPMRC} \
+ -ql \
+ -p "${abs_srcdir}"/data/RPMS/hello-1.0-1.i386.rpm
+],
+[0],
+[/usr/local/bin/hello
+/usr/share/doc/hello-1.0
+/usr/share/doc/hello-1.0/FAQ
+],
+[ignore])
+AT_CLEANUP
+