Commit Graph

35 Commits (4895aebf0aa2149dbdfd76991cdd8bec417a04c4)

Author SHA1 Message Date
Jordan Harband 8a29122d0a Adding `teardown` to `test/fast/Listing versions/` 2014-07-15 02:01:01 -07:00
Jordan Harband 6d2912a2ab Adding nvm_has_system_node 2014-07-14 21:41:26 -07:00
Jordan Harband 1d61584402 Making sure this test cleans up after itself. 2014-07-14 20:43:51 -07:00
Jordan Harband f6974744cd Moving this nvm ls test inside the "listing versions" test subdir. 2014-07-14 12:36:28 -07:00
Jordan Harband 8f66273922 Merge pull request #467 from jsdevel/adding-current-symlink
Adding a symlink in .nvm to the current version.

Fixes #430. Closes #447. Relates to #358. Fixes #355. Closes #313. Fixes #381.
2014-07-13 11:23:27 -07:00
jsdevel 3fa004293c Adding a symlink in .nvm to the current version. 2014-07-12 12:01:35 -07:00
Jordan Harband 802f064178 Adding a failing test. 2014-07-12 11:02:14 -07:00
Jordan Harband 8349f0ff48 Make sure `nvm ls foo` returns a nonzero exit code when a version is not found.
Fixes #440.
2014-06-26 10:28:35 -07:00
Koen Punt a318ddf9b3 redirect stderr to stdout in test 2014-06-17 01:22:17 +02:00
Andrew Crites 1b22c2e2b1 Including test for specific version listing
This fixes the issue of nvm ls v[:digit:].[:digit:].[:digit:] listing the version even if it isn't available
2014-06-12 14:01:26 -04:00
Jordan Harband 085e314a3f Adding a trailing newline 2014-05-28 20:54:25 -07:00
Jordan Harband 6aa45732d8 Merge pull request #376 from koenpunt/nvm-unload
Feature: nvm unload
2014-05-28 20:53:50 -07:00
Jordan Harband 578a601b27 Filter out of `nvm ls` things that start with a dot. Fixes #421, closes #422. 2014-05-20 10:36:12 -07:00
Koen Punt 2e3e48cc06 Use correct variables 2014-05-09 15:36:44 +02:00
Koen Punt f6ba08253b utility method for append path, fixes #414 2014-05-08 10:20:11 +02:00
Koen Punt e3b84499c2 use regex triplet, add unit test 2014-05-07 10:58:21 +02:00
Koen Punt 3d9c1d7852 use sed for *PATH stripping 2014-05-05 21:43:22 +02:00
Jordan Harband 673cda56c4 Adding a test for `nvm install invalid` behavior, and correcting the message.
From f00d688c87 (commitcomment-6205164)
2014-05-04 12:03:26 -07:00
Koen Punt 703acb0514 Added test for nvm unload 2014-03-23 16:44:40 +01:00
Koen Punt 52a384a0cc Add Makefile for multishell testing
updated nvm current test for zsh
2014-03-22 18:47:15 +01:00
Koen Punt 0b97ee1d2a Failing test for when using nvm ls with v* version 2014-03-18 10:49:44 +01:00
Koen Punt ae4c841742 Double == causes error on travis (dash shell) 2014-03-17 19:44:40 +01:00
Jordan Harband 4f9324c439 Merge pull request #377 from koenpunt/remove-obscure-echo-test
Replaced echo for printf when using formatted strings
2014-03-17 10:02:54 -07:00
Koen Punt 38a0c997e2 Added travis config, fixed tests for use on travis 2014-03-17 14:33:25 +01:00
Koen Punt 70f1734c12 updated tests for altered output 2014-03-17 13:24:24 +01:00
Fraser Tweedale dcba513108 address remaining comments from #363 2014-02-22 11:25:45 +10:00
Fraser Tweedale 21771e7369 fix logic error in nvm deactivate test 2014-02-21 21:06:53 +10:00
Fraser Tweedale a3331ffdb0 fix errors due to use of unportable == operator
The `==` operator is not defined by POSIX and many test(1) (also
spelled `[`) implementations do not support it.  Replace uses of
`==` with the POSIX-conformant `=` equality operator.
2014-02-21 21:05:40 +10:00
Fraser Tweedale 8925419e90 tests: avoid reliance on nullglob
Some shells do not have a nullglob feature, including dash (default
/bin/sh on Ubuntu) and the Almquist shell (default /bin/sh on
FreeBSD).  An mv(1) command in setup_dir is failing due to a glob
not matching anything, so use a more widely supported construction.
2014-02-21 19:21:03 +10:00
Dr. Kibitz 0f709eafa0 Missed tests 2014-02-18 22:07:25 -08:00
Timo Sand 4ca71d81cf Changed test according to comments 2013-12-17 08:28:31 +02:00
Timo Sand dc7a42062e Added test for `nvm current` 2013-10-10 07:58:51 +03:00
Emanuele Aina 04dba10b9a Fix the setup/teardown urchin test scripts under zsh
The v* glob expansions were failing with an error under zsh, just set
nullglob/NULL_GLOB and make both bash and zsh happier.
2013-06-07 23:18:50 +02:00
Emanuele Aina 8486a0da2b Fix the 'nvm deactivate' test
`nvm deactivate` does not really remove the nvm command, it just remove
the entries from $PATH and $MANPATH previously adde with `nvm use`.
2013-06-07 23:18:50 +02:00
Thomas Levine a27d39139b tests from readme
fast tests

alias

unalias

more alias tests

tests

document testing

warn not to run while testing

chmod +x deactivate

specify the version (commit) of urchin

installation test

run

tests for ls

switch unsetopt to the thing creationix has

rename tests

urchin log

adjust urchin version
2012-10-11 16:12:50 -04:00