aboutsummaryrefslogtreecommitdiffstats
path: root/rpm/rootfs-scripts/resource/tests/rpm_03.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/rootfs-scripts/resource/tests/rpm_03.sh')
-rw-r--r--rpm/rootfs-scripts/resource/tests/rpm_03.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/rpm/rootfs-scripts/resource/tests/rpm_03.sh b/rpm/rootfs-scripts/resource/tests/rpm_03.sh
new file mode 100644
index 0000000..51d5b95
--- /dev/null
+++ b/rpm/rootfs-scripts/resource/tests/rpm_03.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# The testscript checks the following options of the command file
+# 1) Option qi
+
+test="rpm03"
+test_manual="test-manual-1.2.3.noarch"
+
+if rpm -qi $test_manual | grep ".*1.2.3.*"
+then
+ echo " -> $test: TEST-PASS"
+else
+ echo " -> $test: TEST-FAIL"
+fi;