Skip to content
Myr

[Tests] Run fast test suite in clean environment

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

authored by Alex Aubuchon · committed by Jordan Harband · parent 11a9d22 · Browse files · 2 files+4 added−2 removed
This commit

State

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

Diff stats

2 files+4 added−2 removed

  • tests:+3 added−1 removed
  • other:+1 added−1 removed

2 files+4 added−2 removed

modified:test/fast/Running "nvm use iojs" uses latest io.js version+3 added-1 removed
25 unmodified lines
26[ "${IOJS_VERSION}" = "${EXPECTED_OUTPUT}" ] || die "iojs version was not >${EXPECTED_OUTPUT}; got >${IOJS_VERSION}<"2728nvm use --delete-prefix iojs || die '`nvm use iojs` failed'2930CURRENT="$(nvm current)"30# Remove node_modules/.bin from the path so that the system version `which` is31# used in nvm_ls_current32PATH=$(echo "$PATH" | tr ":" "\n" | grep -v "node_modules/.bin" | tr "\n" ":") CURRENT="$(nvm current)"33echo "current: ${CURRENT}"3435[ "${CURRENT}" = "${IOJS_VERSION}" ] || die "expected >${IOJS_VERSION}<; got >${CURRENT}<"36
1 unmodified line
modified:package.json+1 added-1 removed