diff options
Diffstat (limited to 'tests')
-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 |