Browse Source

Add sh shebang to tests so we get syntax highlighting

pull/17/head
Luke Childs 8 years ago
parent
commit
e26a39b1f2
  1. 1
      tests/common.sh
  2. 1
      tests/loading/Check zsh-nvm doesn't install nvm if it's already installed
  3. 1
      tests/loading/Check zsh-nvm exports NVM_DIR if it doesn't exist
  4. 1
      tests/loading/Check zsh-nvm installs nvm if it isn't already installed
  5. 1
      tests/loading/Check zsh-nvm is loaded
  6. 1
      tests/loading/Check zsh-nvm loads nvm
  7. 1
      tests/loading/Check zsh-nvm wraps nvm
  8. 1
      tests/loading/teardown
  9. 1
      tests/wrapper commands/nvm revert
  10. 1
      tests/wrapper commands/nvm upgrade
  11. 1
      tests/wrapper commands/teardown

1
tests/common.sh

@ -1,3 +1,4 @@
#!/bin/sh
export test_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
export repo_dir="$test_dir/.."
export NVM_DIR="$repo_dir/.nvm"

1
tests/loading/Check zsh-nvm doesn't install nvm if it's already installed

@ -1,3 +1,4 @@
#!/bin/sh
source ../common.sh
nvm_placeholder="nvm placeholder"

1
tests/loading/Check zsh-nvm exports NVM_DIR if it doesn't exist

@ -1,3 +1,4 @@
#!/bin/sh
source ../common.sh
# We don't need to actually load nvm for this test

1
tests/loading/Check zsh-nvm installs nvm if it isn't already installed

@ -1,3 +1,4 @@
#!/bin/sh
source ../common.sh
# Check nvm isn't already installed

1
tests/loading/Check zsh-nvm is loaded

@ -1,3 +1,4 @@
#!/bin/sh
source ../common.sh
# We don't need to actually load nvm for this test

1
tests/loading/Check zsh-nvm loads nvm

@ -1,3 +1,4 @@
#!/bin/sh
source ../common.sh
# Check nvm isn't already loaded

1
tests/loading/Check zsh-nvm wraps nvm

@ -1,3 +1,4 @@
#!/bin/sh
source ../common.sh
# Load zsh-nvm

1
tests/loading/teardown

@ -1 +1,2 @@
#!/bin/sh
rm -rf ../../.nvm

1
tests/wrapper commands/nvm revert

@ -1,3 +1,4 @@
#!/bin/sh
source ../common.sh
# Version to revert nvm to

1
tests/wrapper commands/nvm upgrade

@ -1,3 +1,4 @@
#!/bin/sh
source ../common.sh
# Version to revert nvm to

1
tests/wrapper commands/teardown

@ -1 +1,2 @@
#!/bin/sh
rm -rf ../../.nvm

Loading…
Cancel
Save