summaryrefslogtreecommitdiffstats
path: root/rpm/rootfs-scripts/resource/tests/rpm_01.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/rootfs-scripts/resource/tests/rpm_01.sh')
-rw-r--r--rpm/rootfs-scripts/resource/tests/rpm_01.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/rpm/rootfs-scripts/resource/tests/rpm_01.sh b/rpm/rootfs-scripts/resource/tests/rpm_01.sh
new file mode 100644
index 0000000..6ab9e3d
--- /dev/null
+++ b/rpm/rootfs-scripts/resource/tests/rpm_01.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# The testscript checks the following options of the command file
+# 1) Option help
+
+test="rpm01"
+
+if rpm --help | grep .*Usage.*
+then
+ echo " -> $test: TEST-PASS"
+else
+ echo " -> $test: TEST-FAIL"
+fi;