diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-08-21 08:51:16 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-08-21 08:51:16 +0200 |
commit | ed488d4181cf9db03c99dfd94524f3c8faa45391 (patch) | |
tree | 703570987cb2656db3d5a511b362bd70b8a1b6ef /tests | |
parent | a7fec3af93d19592dc6d99ddd335aff7ad40213a (diff) | |
download | librpm-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.at | 30 |
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 + |