diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-12-09 14:58:43 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-12-09 14:58:43 +0200 |
commit | 95b8a910893bba3ad66507975cd96f1c082004e3 (patch) | |
tree | 9a60de38d0429d5db610fa6c4b17ab3d9f387eb9 /tests/rpmquery.at | |
parent | b838d10e0cf3d747ac0ce5b756688e6677dbc513 (diff) | |
download | rpm-95b8a910893bba3ad66507975cd96f1c082004e3.tar.gz rpm-95b8a910893bba3ad66507975cd96f1c082004e3.tar.bz2 rpm-95b8a910893bba3ad66507975cd96f1c082004e3.zip |
Update testsuite expectations as per array format change, add another test
Diffstat (limited to 'tests/rpmquery.at')
-rw-r--r-- | tests/rpmquery.at | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/tests/rpmquery.at b/tests/rpmquery.at index 7b8fa20d6..af63b7b46 100644 --- a/tests/rpmquery.at +++ b/tests/rpmquery.at @@ -235,7 +235,20 @@ run rpm \ AT_CLEANUP # ------------------------------ -AT_SETUP([empty string array extension array query]) +AT_SETUP([empty string array query]) +AT_KEYWORDS([query]) +AT_CHECK([ +run rpm \ + --queryformat="[[%{basenames}]]" \ + -qp "${abs_srcdir}"/data/RPMS/foo-1.0-1.noarch.rpm +], +[0], +[], +[]) +AT_CLEANUP + +# ------------------------------ +AT_SETUP([empty string array extension array format]) AT_KEYWORDS([query]) AT_CHECK([ run rpm \ @@ -243,7 +256,7 @@ run rpm \ -qp "${abs_srcdir}"/data/RPMS/foo-1.0-1.noarch.rpm ], [0], -[(none)], +[], []) AT_CLEANUP |