Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions letest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ le_test_install() {

_assertexists "$lehome/$PROJECT_ENTRY" || return
_c_entry="$(crontab -l | grep $PROJECT_ENTRY)"
_assertcmd "_contains '$_c_entry' '0 \\* \\* \\* \"$lehome\"/$PROJECT_ENTRY --cron --home \"$lehome\" > /dev/null'" || return
_assertcmd "_contains '$_c_entry' ' \\* \\* \\* \"$lehome\"/$PROJECT_ENTRY --cron --home \"$lehome\" > /dev/null'" || return
_assertcmd "$lehome/$PROJECT_ENTRY --uninstall > /dev/null" || return
}

Expand Down Expand Up @@ -697,7 +697,7 @@ le_test_installtodir() {

_assertexists "$lehome/$PROJECT_ENTRY" || return
_c_entry="$(crontab -l | grep $PROJECT_ENTRY)"
_assertcmd "_contains '$_c_entry' '0 \\* \\* \\* \"$lehome\"/$PROJECT_ENTRY --cron --home \"$lehome\" > /dev/null'" || return
_assertcmd "_contains '$_c_entry' ' \\* \\* \\* \"$lehome\"/$PROJECT_ENTRY --cron --home \"$lehome\" > /dev/null'" || return
_assertcmd "$lehome/$PROJECT_ENTRY --uninstall" || return
if [ -z "$DEBUG" ]; then
rm -rf $lehome
Expand Down Expand Up @@ -736,7 +736,7 @@ le_test_install_config_home() {

_assertexists "$lehome/$PROJECT_ENTRY" || return
_c_entry="$(crontab -l | grep $PROJECT_ENTRY)"
_assertcmd "_contains '$_c_entry' '0 \\* \\* \\* \"$lehome\"/$PROJECT_ENTRY --cron --home \"$lehome\" --config-home \"$confighome\" > /dev/null'" || return
_assertcmd "_contains '$_c_entry' ' \\* \\* \\* \"$lehome\"/$PROJECT_ENTRY --cron --home \"$lehome\" --config-home \"$confighome\" > /dev/null'" || return
_assertexists "$confighome/account.conf" || return
_assertnotexists "$lehome/account.conf" || return
_assertcmd "$lehome/$PROJECT_ENTRY --cron --config-home $confighome > /dev/null" || return
Expand Down