diff --git a/Sanity/vim-aliases/runtest.sh b/Sanity/vim-aliases/runtest.sh index 3a73cdf..dc5d341 100755 --- a/Sanity/vim-aliases/runtest.sh +++ b/Sanity/vim-aliases/runtest.sh @@ -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 "--------------------------------------------------------------"