add test for linking current path

This commit is contained in:
Daniel Bretoi 2014-07-05 16:07:07 -07:00
parent 71f0dbff03
commit 530f79bd2a

View File

@ -0,0 +1,7 @@
#!/bin/bash
cd ../..
. ./nvm.sh
mkdir v0.10.10
nvm use 0.10
[ "$(ls -ld current | cut -d ' ' -f 13,15 && rm -rf current v0.10.10)" = "current $NVM_DIR/v0.10.10" ]