[Tests] fix shebangs

Jordan Harband 2016-04-27 17:34:53 -07:00
parent ec54c925c1
commit 91c77c6ba8
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
11 changed files with 5 additions and 15 deletions

View File

@ -18,4 +18,3 @@ nvm ls 0.0.2 | grep 'v0.0.20' > /dev/null
if [ $? -eq 0 ]; then
die '"nvm ls 0.0.2" contained v0.0.20'
fi

View File

@ -4,4 +4,3 @@
nvm ls nonexistent_version
[ "$?" = "3" ]

View File

@ -4,4 +4,3 @@
nvm ls io
[ "$?" = "3" ]

View File

@ -26,4 +26,3 @@ nvm ls stable | \grep -v "$STABLE_VERSION" >/dev/null \
|| die "'nvm ls stable' contained $STABLE_VERSION instead of v0.1.2"
nvm ls stable | \grep v0.1.2 >/dev/null \
|| die "'nvm ls stable' did not contain v0.1.2"

View File

@ -18,4 +18,3 @@ nvm ls system | grep system 2>&1 > /dev/null
nvm_has_system_node() { return 1; }
nvm ls system | grep system 2>&1 > /dev/null
[ $? -ne 0 ] || die '"nvm ls system" contained "system" when system node is not present'

View File

@ -8,4 +8,3 @@ mkdir -p ../../../versions/node
[ -z "$(nvm ls | \grep 'versions')" ]
# The result should contain only the appropriate version numbers.

View File

@ -18,4 +18,3 @@ nvm ls | grep system 2>&1 > /dev/null
nvm_has_system_node() { return 1; }
nvm ls | grep system 2>&1 > /dev/null
[ $? -ne 0 ] || die '"nvm ls" contained "system" when system node is not present'

View File

@ -9,4 +9,3 @@ mkdir ../../../v0.1.3
nvm ls 0.12 | grep v0.12.1 || die '"nvm ls" did not list a version in the versions/ directory'
nvm ls 0.1 | grep v0.1.3 || die '"nvm ls" did not list a version not in the versions/ directory'

View File

@ -8,4 +8,3 @@ nvm ls v0.1 | grep v0.1.2 &&
nvm ls v0.1.2 | grep v0.1.2 &&
nvm ls v0.1. | grep v0.1.2 &&
nvm ls v0.1.1 | grep N/A