Move sourcing tests to a separate test suite.

This commit is contained in:
Jordan Harband
2014-10-23 00:30:38 -07:00
parent ad0a5cd8c7
commit cec1c38a84
7 changed files with 29 additions and 16 deletions

12
test/sourcing/setup Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
mkdir -p ../../alias
rm -f ../../.nvmrc
rm -rf ../../v0.10.7
rm -rf ../../v0.9.7
rm -rf ../../v0.9.12
. ../../nvm.sh
nvm install 0.10.1 || echo >&2 'nvm install 0.10.1 failed'
nvm unload || echo >&2 'nvm unload failed'