[Fix] ensure that lts/* points to boron/latest, not argon/earliest.

- update test mocks
 - fix tests for Boron release

Fixes #1268.
This commit is contained in:
Jordan Harband
2016-10-18 11:33:07 -07:00
parent a338f98a5a
commit 76fe1ab1c6
12 changed files with 95 additions and 66 deletions

View File

@@ -1,7 +1,5 @@
#!/bin/sh
set -ex
die () { echo $@ ; cleanup ; exit 1; }
TEST_PATH="$PWD/test_output"
@@ -39,7 +37,7 @@ nvm_ls_remote >/dev/null || die "nvm_ls_remote_failed?!"
CALL_COUNT="$(cat "$CALL_COUNT_PATH")"
EXPECTED_COUNT=2
EXPECTED_COUNT=3
[ "$CALL_COUNT" = "$EXPECTED_COUNT" ] || die "nvm_make_alias called $CALL_COUNT times; expected $EXPECTED_COUNT"
ARGS="$(cat "$ALIAS_ARGS_PATH")"