The-binutils-package-contains-the-windmc-1-manual: fix wc -l output processing
This commit is contained in:
parent
77ed99d023
commit
54e002d31a
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ rlJournalStart
|
|||
rlPhaseStartTest
|
||||
rlRun "rpm -ql $PACKAGES | grep windmc > windmc.txt" 0,1
|
||||
rlLogInfo "$(cat windmc.txt)"
|
||||
rlRun "FILE_CNT=$(wc -l windmc.txt)"
|
||||
rlRun "FILE_CNT=$(wc -l windmc.txt | awk '{print $1}')"
|
||||
if [ "$FILE_CNT" == "1" ]; then
|
||||
rlFail "Either windmg manpage or binary is present - both options are wrong."
|
||||
elif [ "$FILE_CNT" == "2" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue