Skip to content

Commit d4cc592

Browse files
committed
wip
1 parent c8b5517 commit d4cc592

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/slow/nvm uninstall/Running 'nvm uninstall' with incorrect file permissions fails nicely

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ nvm ls | grep "$NVM_TEST_VERSION" || die "Failed to install node"
1919

2020
# Install global module as root
2121
npm_path=$(which npm)
22+
nvm_err "${PATH}"
23+
PATH="${PATH}" sudo -n echo "${PATH}" || die 'sudo echo failed'
2224
PATH="${PATH}" sudo -n "$npm_path" install jspm@'<2' -g || die 'either sudo failed, or `npm install jspm -g` failed`'
2325

2426
# Switch to another version so we can uninstall

0 commit comments

Comments
 (0)