Updating test to work on rhels
/CoreOS/vim/Sanity/vim-aliases
This commit is contained in:
parent
fdc3d77c44
commit
653d1a6bef
1 changed files with 9 additions and 4 deletions
|
|
@ -59,11 +59,11 @@ rlJournalStart
|
|||
do
|
||||
rlLog "$shell: Running $app"
|
||||
$shell -c "$app --version > out"
|
||||
rlAssertGrep 'Huge version without GUI' out
|
||||
rlAssertGrep 'Huge version without GUI' out
|
||||
|
||||
rlLog "$shell: Running $app under sudo"
|
||||
sudo $shell -c "$app --version > sudo_out"
|
||||
rlAssertGrep 'Huge version without GUI' sudo_out
|
||||
rlAssertGrep 'Huge version without GUI' sudo_out
|
||||
done
|
||||
|
||||
rlRun "dnf -y remove $VI_PACKAGE" 0 "Remove vi"
|
||||
|
|
@ -96,13 +96,18 @@ rlJournalStart
|
|||
|
||||
for app in /usr/bin/vi /usr/bin/view
|
||||
do
|
||||
if rlIsFedora; then
|
||||
str="Tiny"
|
||||
else
|
||||
str="Small"
|
||||
fi
|
||||
rlLog "$shell: Running $app"
|
||||
$shell -c "$app --version > out"
|
||||
rlAssertGrep 'Tiny version without GUI' out
|
||||
rlAssertGrep ''$str' version without GUI' out
|
||||
|
||||
rlLog "$shell: Running $app under sudo"
|
||||
sudo $shell -c "$app --version > sudo_out"
|
||||
rlAssertGrep 'Tiny version without GUI' sudo_out
|
||||
rlAssertGrep ''$str' version without GUI' sudo_out
|
||||
done
|
||||
|
||||
rlLog "--------------------------------------------------------------"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue