Skip to content
Myr

added test for using the latest of two versions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by messju mohr · committed by messju mohr · parent f82f38b · Browse files · 1 file+23 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+23 added−0 removed

  • tests:+23 added−0 removed

1 file+23 added−0 removed

added:test/slow/install two versions and use the latest one+23 added
1#!/bin/sh23set -e4. ../../nvm.sh56# Remove the stuff we're clobbering.7[ -e ../../v0.10.25 ] && rm -R ../../v0.10.258[ -e ../../v0.10.26 ] && rm -R ../../v0.10.26910# Install from binary11nvm install 0.10.2512nvm install 0.10.261314# Check15[ -d ../../v0.10.25 ]16[ -d ../../v0.10.26 ]1718# Use the first one19nvm use 0.10.252021# Use the latest one22nvm use 0.1023node --version | grep v0.10.26