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