Skip to content
Myr

Make sure to add a test for implicit source installation.

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

authored by Jordan Harband · committed by Jordan Harband · parent c6a9f7b · Browse files · 1 file+18 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+18 added−0 removed

  • tests:+18 added−0 removed

1 file+18 added−0 removed

added:test/installation/node/install from source implicitly+18 added
1#!/bin/sh23die () { echo $@ ; exit 1; }45. ../../../nvm.sh67NVM_TEST_VERSION=v0.8.589# Remove the stuff we're clobbering.10[ -e ../../../$NVM_TEST_VERSION ] && rm -R ../../../$NVM_TEST_VERSION1112# Install from source implicitly (v0.8.6 is when binaries started)13nvm install $NVM_TEST_VERSION || die "'nvm install -s $NVM_TEST_VERSION' failed"1415# Check16[ -d ../../../$NVM_TEST_VERSION ]17nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION || "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"18