mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-12 07:01:50 +00:00
add test for linking current path
This commit is contained in:
parent
71f0dbff03
commit
530f79bd2a
7
test/fast/Running "nvm use" should link current path.
Executable file
7
test/fast/Running "nvm use" should link current path.
Executable 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" ]
|
Loading…
Reference in New Issue
Block a user