[Tests] Replace all dots with backslash dots

This commit is contained in:
Qiangjun Ran
2016-11-04 13:15:18 +08:00
committed by Jordan Harband
parent 2a2b8bdeb3
commit cadbbced20
167 changed files with 188 additions and 188 deletions

View File

@@ -12,7 +12,7 @@ cleanup () {
}
die () { echo $@ ; cleanup ; exit 1; }
NVM_ENV=testing . ../../install.sh
NVM_ENV=testing \. ../../install.sh
setup () {
ORIGINAL_PATH="$PATH"

View File

@@ -2,7 +2,7 @@
setup () {
HOME="."
NVM_ENV=testing . ../../install.sh
NVM_ENV=testing \. ../../install.sh
touch ".bashrc"
touch ".bash_profile"
touch ".zshrc"

View File

@@ -2,7 +2,7 @@
die () { echo $@ ; exit 1; }
NVM_ENV=testing . ../../install.sh
NVM_ENV=testing \. ../../install.sh
#nvm_do_install is available
type nvm_do_install > /dev/null 2>&1 || die 'nvm_do_install is not available'

View File

@@ -6,7 +6,7 @@ cleanup () {
}
die () { echo $@ ; cleanup ; exit 1; }
NVM_ENV=testing . ../../install.sh
NVM_ENV=testing \. ../../install.sh
HOME="__home__"

View File

@@ -18,7 +18,7 @@ safe_type() {
! safe_type nvm_reset || die 'nvm_reset is still available'
! safe_type nvm_detect_profile || die 'nvm_detect_profile is still available'
NVM_ENV=testing . ../../install.sh
NVM_ENV=testing \. ../../install.sh
# Check nvm_reset exists
safe_type nvm_reset || die 'nvm_reset is not available'

View File

@@ -6,7 +6,7 @@ cleanup () {
}
die () { echo $@ ; cleanup ; exit 1; }
NVM_ENV=testing . ../../install.sh
NVM_ENV=testing \. ../../install.sh
# nvm_source with no parameter returns the git endpoint
echo $(nvm_source) | grep "nvm.git$" > /dev/null || die "nvm_source without arguments should return the location of the git repo"