diff --git a/tests/Sanity/basic-sanity/runtest.sh b/tests/Sanity/basic-sanity/runtest.sh index 26909ca..08d7b97 100755 --- a/tests/Sanity/basic-sanity/runtest.sh +++ b/tests/Sanity/basic-sanity/runtest.sh @@ -68,8 +68,8 @@ _CERT_PASS="certpass" _NEW_LUKS_PASS="newlukspass" _NEW_LUKS_PASS_ASYM="newlukspass-asym" -_LANG_BACKUP="${LANG}" -_LC_ALL_BACKUP="${LC_ALL}" +_LANG_BACKUP="${LANG:-}" +_LC_ALL_BACKUP="${LC_ALL:-}" _TEMP_DIR="" _VOLUME="" @@ -116,7 +116,7 @@ function Setup() { _VOLUME="${_Result}" AtCleanup Cleanup_DestroyVolume - if ! CreateCertificate --name "${_ESCROW}" --dest "${_TEMP_DIR}"; then + if ! CreateCertificate --name "${_ESCROW}"; then return $? fi