summaryrefslogtreecommitdiffstats
path: root/rpm/rootfs-scripts/resource/tests
diff options
context:
space:
mode:
authorduerpei <duep.fnst@fujitsu.com>2022-06-29 16:05:12 +0800
committerduerpei <duep.fnst@fujitsu.com>2022-06-29 16:05:12 +0800
commitfe92db3b3f0b4b1e7bed9abe2ef376ef457e1a4c (patch)
tree7bf82741f079921eed9232ffb3c6ad9d15889621 /rpm/rootfs-scripts/resource/tests
parentdaed111bea534c63ed6906e8e0c1b5578e324838 (diff)
qa-test-misc: delete glib2 and rpm
Due to the adjustment of the framework, the scripts running the test set are moved to 'agl-test-framework', so they are deleted from 'qa-test-misc' According to the previous discussion, rpm will use its ptest, so rpm also be deleted. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Ib5fb19f410a63d3f68d83714a41dc1beeb053d45
Diffstat (limited to 'rpm/rootfs-scripts/resource/tests')
-rw-r--r--rpm/rootfs-scripts/resource/tests/rpm_01.sh13
-rw-r--r--rpm/rootfs-scripts/resource/tests/rpm_02.sh21
-rw-r--r--rpm/rootfs-scripts/resource/tests/rpm_03.sh14
3 files changed, 0 insertions, 48 deletions
diff --git a/rpm/rootfs-scripts/resource/tests/rpm_01.sh b/rpm/rootfs-scripts/resource/tests/rpm_01.sh
deleted file mode 100644
index 6ab9e3d..0000000
--- a/rpm/rootfs-scripts/resource/tests/rpm_01.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/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;
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;
diff --git a/rpm/rootfs-scripts/resource/tests/rpm_03.sh b/rpm/rootfs-scripts/resource/tests/rpm_03.sh
deleted file mode 100644
index 51d5b95..0000000
--- a/rpm/rootfs-scripts/resource/tests/rpm_03.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/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;