diff options
-rw-r--r-- | tests/rpmquery.at | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rpmquery.at b/tests/rpmquery.at index af63b7b46..4de56c5ea 100644 --- a/tests/rpmquery.at +++ b/tests/rpmquery.at @@ -62,6 +62,18 @@ hello.spec AT_CLEANUP # ------------------------------ +AT_SETUP([rpm -q --specfile]) +AT_KEYWORDS([query]) +AT_CHECK([ +run rpm \ + -q --specfile --qf "%{name}" "${abs_srcdir}"/data/SPECS/hello.spec +], +[0], +[hello], +[]) +AT_CLEANUP + +# ------------------------------ AT_SETUP([rpm -ql -p *.i386.rpm]) AT_KEYWORDS([query]) AT_CHECK([ |