summaryrefslogtreecommitdiffstats
path: root/rpm/rootfs-scripts/resource/tests/rpm_02.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/rootfs-scripts/resource/tests/rpm_02.sh')
-rw-r--r--rpm/rootfs-scripts/resource/tests/rpm_02.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/rpm/rootfs-scripts/resource/tests/rpm_02.sh b/rpm/rootfs-scripts/resource/tests/rpm_02.sh
deleted file mode 100644
index 9b0f411..0000000
--- a/rpm/rootfs-scripts/resource/tests/rpm_02.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-# The testscript checks the following options of the command file
-# 1) Option ql
-
-test="rpm02"
-test_manual="test-manual-1.2.3.noarch"
-
-if rpm -qa | grep $test_manual
-then
- rpm -e $test_manual
-fi
-
-rpm -ivh ${test_manual}.rpm --nodeps
-
-if rpm -ql $test_manual | grep '.*/home/test/rpm-test/text1.txt.*'
-then
- echo " -> $test: TEST-PASS"
-else
- echo " -> $test: TEST-FAIL"
-fi;