summaryrefslogtreecommitdiffstats
path: root/rpm/rootfs-scripts/resource/tests/rpm_03.sh
blob: 51d5b95185993f421da6787f5dc18a4a018f3951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;