From 8dad2ee92bf711cf237ce0d6fbd27bec02280ebf Mon Sep 17 00:00:00 2001 From: nmarghetti Date: Mon, 4 Jan 2021 00:49:05 +0100 Subject: [PATCH] Rename some files to be more cross platform --- .editorconfig | 4 +- .github/workflows/lint.yml | 7 +++ rename_test.sh | 52 +++++++++++++++++++ ...as' should not accept aliases with slashes | 0 ... aliases when they shadow a built-in alias | 0 ...aliases with names equal to built-in alias | 0 ...as' should not accept aliases with slashes | 0 ...t\313\203' again should change the target" | 0 ...asname\313\203' should list but one alias" | 0 ...ts implicit aliases when they do not exist | 0 ...s instead of implicit aliases when present | 0 ...unning 'nvm alias' should list all aliases | 0 ... alias' should ensure LTS alias dir exists | 0 ...h 0.0.2' should display only version 0.0.2 | 0 ... return a nonzero exit code when not found | 0 ...s --no-alias' does not call into nvm_alias | 0 ... 'nvm ls --no-alias' with a pattern errors | 0 ...s 0.0.2' should display only version 0.0.2 | 0 ...ls 0.2' should display only 0.2.x versions | 0 ... return a nonzero exit code when not found | 0 .../Running 'nvm ls io' should return NA | 0 ... return a nonzero exit code when not found | 0 ...ould return the appropriate implicit alias | 0 ...' should include 'system' when appropriate | 0 .../Running 'nvm ls' calls into nvm_alias | 0 ... ls' should display all installed versions | 0 .../Running 'nvm ls' should filter out '.nvm' | 0 ...ning 'nvm ls' should filter out 'versions' | 0 ...' should include 'system' when appropriate | 0 ... list versions in the 'versions' directory | 0 ... 'nvm ls' should not show a trailing slash | 0 ... vx.x.x should only list a matched version | 0 ...ning 'nvm ls' with nounset should not fail | 0 ...hould create a file in the alias directory | 0 ...nt' should display current nvm environment | 0 ...should unset the nvm environment variables | 0 ...ll-packages-from' requires a valid version | 0 ...tall' with an invalid version fails nicely | 0 ...'nvm unalias' should remove the alias file | 0 ...l' should remove the appropriate directory | 0 ...th incorrect file permissions fails nicely | 0 ...d' should unset all function and variables | 0 ...vm use foo' where 'foo' is circular aborts | 0 ...g 'nvm use iojs' uses latest io.js version | 0 ...g 'nvm use system' should work as expected | 0 ...ld create and change the 'current' symlink | 0 ...' symlink if $NVM_SYMLINK_CURRENT is false | 0 ...nvm use' should drop CR char automatically | 0 ....sh should make the nvm command available} | 0 ...nt' should display current nvm environment | 0 .../Preamble works and respects 'silent' flag | 0 .../Running 'nvm exec --lts' should work | 0 .../Running 'nvm exec 0.x' should work | 0 ...g 'nvm exec' should pick up .nvmrc version | 0 ...ckages $(nvm ls current)' should error out | 0 ... 'nvm run --harmony --version' should work | 0 .../Running 'nvm run --lts' should work | 0 ...ror out sensibly when 0.x is not installed | 0 .../nvm run/Running 'nvm run 0.x' should work | 0 ...ng 'nvm run' should pick up .nvmrc version | 0 ... 'nvm uninstall 0.12.6' uninstalls v0.12.6 | 0 ...th incorrect file permissions fails nicely | 0 ...ng 'nvm use --lts' uses latest LTS version | 0 ...e --lts=foo' uses latest 'foo' LTS version | 0 ...g 'nvm use iojs' uses latest io.js version | 0 ... use node --silent' doesn't print anything | 0 ... use node' uses latest stable node version | 0 ... use v1.0.0' uses iojs-v1.0.0 iojs version | 0 ...unning 'nvm use' calls 'nvm_die_on_prefix' | 0 69 files changed, 61 insertions(+), 2 deletions(-) create mode 100755 rename_test.sh rename "test/fast/Aliases/\"nvm alias\" should not accept aliases with slashes" => test/fast/Aliases/'nvm alias' should not accept aliases with slashes (100%) rename "test/fast/Aliases/\"nvm unalias\" should accept aliases when they shadow a built-in alias" => test/fast/Aliases/'nvm unalias' should accept aliases when they shadow a built-in alias (100%) rename "test/fast/Aliases/\"nvm unalias\" should not accept aliases with names equal to built-in alias" => test/fast/Aliases/'nvm unalias' should not accept aliases with names equal to built-in alias (100%) rename "test/fast/Aliases/\"nvm unalias\" should not accept aliases with slashes" => test/fast/Aliases/'nvm unalias' should not accept aliases with slashes (100%) rename "test/fast/Aliases/Running \"nvm alias \" again should change the target" => "test/fast/Aliases/Running 'nvm alias \313\202aliasname\313\203 \313\202target\313\203' again should change the target" (100%) rename "test/fast/Aliases/Running \"nvm alias \" should list but one alias." => "test/fast/Aliases/Running 'nvm alias \313\202aliasname\313\203' should list but one alias" (100%) rename "test/fast/Aliases/Running \"nvm alias\" lists implicit aliases when they do not exist" => test/fast/Aliases/Running 'nvm alias' lists implicit aliases when they do not exist (100%) rename "test/fast/Aliases/Running \"nvm alias\" lists manual aliases instead of implicit aliases when present" => test/fast/Aliases/Running 'nvm alias' lists manual aliases instead of implicit aliases when present (100%) rename "test/fast/Aliases/Running \"nvm alias\" should list all aliases." => test/fast/Aliases/Running 'nvm alias' should list all aliases (100%) rename "test/fast/Aliases/lts/\"nvm alias\" should ensure LTS alias dir exists" => test/fast/Aliases/lts/'nvm alias' should ensure LTS alias dir exists (100%) rename "test/fast/Listing paths/Running \"nvm which 0.0.2\" should display only version 0.0.2." => test/fast/Listing paths/Running 'nvm which 0.0.2' should display only version 0.0.2 (100%) rename "test/fast/Listing paths/Running \"nvm which foo\" should return a nonzero exit code when not found" => test/fast/Listing paths/Running 'nvm which foo' should return a nonzero exit code when not found (100%) rename "test/fast/Listing versions/Running \"nvm ls --no-alias\" does not call into nvm_alias" => test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias (100%) rename "test/fast/Listing versions/Running \"nvm ls --no-alias\" with a pattern errors" => test/fast/Listing versions/Running 'nvm ls --no-alias' with a pattern errors (100%) rename "test/fast/Listing versions/Running \"nvm ls 0.0.2\" should display only version 0.0.2." => test/fast/Listing versions/Running 'nvm ls 0.0.2' should display only version 0.0.2 (100%) rename "test/fast/Listing versions/Running \"nvm ls 0.2\" should display only 0.2.x versions." => test/fast/Listing versions/Running 'nvm ls 0.2' should display only 0.2.x versions (100%) rename "test/fast/Listing versions/Running \"nvm ls foo\" should return a nonzero exit code when not found" => test/fast/Listing versions/Running 'nvm ls foo' should return a nonzero exit code when not found (100%) rename "test/fast/Listing versions/Running \"nvm ls io\" should return NA" => test/fast/Listing versions/Running 'nvm ls io' should return NA (100%) rename "test/fast/Listing versions/Running \"nvm ls node_\" should return a nonzero exit code when not found" => test/fast/Listing versions/Running 'nvm ls node_' should return a nonzero exit code when not found (100%) rename "test/fast/Listing versions/Running \"nvm ls stable\" and \"nvm ls unstable\" should return the appropriate implicit alias" => test/fast/Listing versions/Running 'nvm ls stable' and 'nvm ls unstable' should return the appropriate implicit alias (100%) rename "test/fast/Listing versions/Running \"nvm ls system\" should include \"system\" when appropriate" => test/fast/Listing versions/Running 'nvm ls system' should include 'system' when appropriate (100%) rename "test/fast/Listing versions/Running \"nvm ls\" calls into nvm_alias" => test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias (100%) rename "test/fast/Listing versions/Running \"nvm ls\" should display all installed versions." => test/fast/Listing versions/Running 'nvm ls' should display all installed versions (100%) rename "test/fast/Listing versions/Running \"nvm ls\" should filter out \".nvm\"" => test/fast/Listing versions/Running 'nvm ls' should filter out '.nvm' (100%) rename "test/fast/Listing versions/Running \"nvm ls\" should filter out \"versions\"" => test/fast/Listing versions/Running 'nvm ls' should filter out 'versions' (100%) rename "test/fast/Listing versions/Running \"nvm ls\" should include \"system\" when appropriate" => test/fast/Listing versions/Running 'nvm ls' should include 'system' when appropriate (100%) rename "test/fast/Listing versions/Running \"nvm ls\" should list versions in the \"versions\" directory" => test/fast/Listing versions/Running 'nvm ls' should list versions in the 'versions' directory (100%) rename "test/fast/Listing versions/Running \"nvm ls\" should not show a trailing slash" => test/fast/Listing versions/Running 'nvm ls' should not show a trailing slash (100%) rename "test/fast/Listing versions/Running \"nvm ls\" with node-like versioning vx.x.x should only list a matched version" => test/fast/Listing versions/Running 'nvm ls' with node-like versioning vx.x.x should only list a matched version (100%) rename "test/fast/Listing versions/Running \"nvm ls\" with nounset should not fail." => test/fast/Listing versions/Running 'nvm ls' with nounset should not fail (100%) rename "test/fast/Running \"nvm alias\" should create a file in the alias directory." => test/fast/Running 'nvm alias' should create a file in the alias directory (100%) rename "test/fast/Running \"nvm current\" should display current nvm environment." => test/fast/Running 'nvm current' should display current nvm environment (100%) rename "test/fast/Running \"nvm deactivate\" should unset the nvm environment variables." => test/fast/Running 'nvm deactivate' should unset the nvm environment variables (100%) rename "test/fast/Running \"nvm install\" with \"--reinstall-packages-from\" requires a valid version" => test/fast/Running 'nvm install' with '--reinstall-packages-from' requires a valid version (100%) rename "test/fast/Running \"nvm install\" with an invalid version fails nicely" => test/fast/Running 'nvm install' with an invalid version fails nicely (100%) rename "test/fast/Running \"nvm unalias\" should remove the alias file." => test/fast/Running 'nvm unalias' should remove the alias file (100%) rename "test/fast/Running \"nvm uninstall\" should remove the appropriate directory." => test/fast/Running 'nvm uninstall' should remove the appropriate directory (100%) rename "test/fast/Running \"nvm uninstall\" with incorrect file permissions fails nicely" => test/fast/Running 'nvm uninstall' with incorrect file permissions fails nicely (100%) rename "test/fast/Running \"nvm unload\" should unset all function and variables." => test/fast/Running 'nvm unload' should unset all function and variables (100%) rename "test/fast/Running \"nvm use foo\" where \"foo\" is circular aborts" => test/fast/Running 'nvm use foo' where 'foo' is circular aborts (100%) rename "test/fast/Running \"nvm use iojs\" uses latest io.js version" => test/fast/Running 'nvm use iojs' uses latest io.js version (100%) rename "test/fast/Running \"nvm use system\" should work as expected" => test/fast/Running 'nvm use system' should work as expected (100%) rename "test/fast/Running \"nvm use x\" should create and change the \"current\" symlink" => test/fast/Running 'nvm use x' should create and change the 'current' symlink (100%) rename "test/fast/Running \"nvm use x\" should not create the \"current\" symlink if $NVM_SYMLINK_CURRENT is false" => test/fast/Running 'nvm use x' should not create the 'current' symlink if $NVM_SYMLINK_CURRENT is false (100%) rename "test/fast/Running \"nvm use\" should drop CR char automatically." => test/fast/Running 'nvm use' should drop CR char automatically (100%) rename test/fast/{Sourcing nvm.sh should make the nvm command available. => Sourcing nvm.sh should make the nvm command available} (100%) rename "test/slow/Running \"nvm current\" should display current nvm environment." => test/slow/Running 'nvm current' should display current nvm environment (100%) rename "test/slow/nvm exec/Preamble works and respects \"silent\" flag" => test/slow/nvm exec/Preamble works and respects 'silent' flag (100%) rename "test/slow/nvm exec/Running \"nvm exec --lts\" should work" => test/slow/nvm exec/Running 'nvm exec --lts' should work (100%) rename "test/slow/nvm exec/Running \"nvm exec 0.x\" should work" => test/slow/nvm exec/Running 'nvm exec 0.x' should work (100%) rename "test/slow/nvm exec/Running \"nvm exec\" should pick up .nvmrc version" => test/slow/nvm exec/Running 'nvm exec' should pick up .nvmrc version (100%) rename "test/slow/nvm reinstall-packages/Running \"nvm copy-packages $(nvm ls current)\" should error out" => test/slow/nvm reinstall-packages/Running 'nvm copy-packages $(nvm ls current)' should error out (100%) rename "test/slow/nvm run/Running \"nvm run --harmony --version\" should work" => test/slow/nvm run/Running 'nvm run --harmony --version' should work (100%) rename "test/slow/nvm run/Running \"nvm run --lts\" should work" => test/slow/nvm run/Running 'nvm run --lts' should work (100%) rename "test/slow/nvm run/Running \"nvm run 0.x\" should error out sensibly when 0.x is not installed" => test/slow/nvm run/Running 'nvm run 0.x' should error out sensibly when 0.x is not installed (100%) rename "test/slow/nvm run/Running \"nvm run 0.x\" should work" => test/slow/nvm run/Running 'nvm run 0.x' should work (100%) rename "test/slow/nvm run/Running \"nvm run\" should pick up .nvmrc version" => test/slow/nvm run/Running 'nvm run' should pick up .nvmrc version (100%) rename "test/slow/nvm uninstall/Running \"nvm uninstall 0.12.6\" uninstalls v0.12.6" => test/slow/nvm uninstall/Running 'nvm uninstall 0.12.6' uninstalls v0.12.6 (100%) rename "test/slow/nvm uninstall/Running \"nvm uninstall\" with incorrect file permissions fails nicely" => test/slow/nvm uninstall/Running 'nvm uninstall' with incorrect file permissions fails nicely (100%) rename "test/slow/nvm use/Running \"nvm use --lts\" uses latest LTS version" => test/slow/nvm use/Running 'nvm use --lts' uses latest LTS version (100%) rename "test/slow/nvm use/Running \"nvm use --lts=foo\" uses latest \"foo\" LTS version" => test/slow/nvm use/Running 'nvm use --lts=foo' uses latest 'foo' LTS version (100%) rename "test/slow/nvm use/Running \"nvm use iojs\" uses latest io.js version" => test/slow/nvm use/Running 'nvm use iojs' uses latest io.js version (100%) rename "test/slow/nvm use/Running \"nvm use node --silent\" doesn't print anything" => test/slow/nvm use/Running 'nvm use node --silent' doesn't print anything (100%) rename "test/slow/nvm use/Running \"nvm use node\" uses latest stable node version" => test/slow/nvm use/Running 'nvm use node' uses latest stable node version (100%) rename "test/slow/nvm use/Running \"nvm use v1.0.0\" uses iojs-v1.0.0 iojs version" => test/slow/nvm use/Running 'nvm use v1.0.0' uses iojs-v1.0.0 iojs version (100%) rename "test/slow/nvm use/Running \"nvm use\" calls \"nvm_die_on_prefix\"" => test/slow/nvm use/Running 'nvm use' calls 'nvm_die_on_prefix' (100%) diff --git a/.editorconfig b/.editorconfig index 0176d42d43e..70c43d34755 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,10 +12,10 @@ trim_trailing_whitespace = true [*.txt] indent_size = false -[test/fast/Listing versions/Running "nvm ls" calls into nvm_alias] +[test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias] indent_size = false -[test/fast/Listing versions/Running "nvm ls --no-alias" does not call into nvm_alias] +[test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias] indent_size = false [test/fast/Unit tests/mocks/**] diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 97ed0627498..26c7e88b5b7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -36,3 +36,10 @@ jobs: cp README.md README.md.orig npm run doctoc diff -q README.md README.md.orig + + test_naming: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: check tests filenames + run: ./rename_test.sh --check diff --git a/rename_test.sh b/rename_test.sh new file mode 100755 index 00000000000..5530862fa23 --- /dev/null +++ b/rename_test.sh @@ -0,0 +1,52 @@ +#! /usr/bin/env bash + +find_name(){ + find test -name "*[\\/:\*\?\"<>\|]*" -o -name "*." +} + +check_name() { + if [ "$(find_name | wc -l)" != "0" ]; then + printf '%s\n\n' "The following filenames contain unwanted characters:" + find_name + printf '\n%s\n%s\n' "Please run ./rename_test.sh" "If the problem persist, please open an issue." + exit 1 + else + echo "Ok" + fi +} + +rename_test() { + local filename + local new_filename + while read -r filename; do + # Even though it looks < and > are replaced by the same < and >, the latters are not ASCII code + # If you check with 'cat -v rename_test.sh' you would see 's//M-KM-^C/g' + # M-KM-^B -> U+02C2 + # M-KM-^C -> U+02C3 + new_filename=$(echo "$filename" | sed -r \ + -e "s/\"/'/g" \ + -e 's//˃/g' \ + -e 's/^(.*)\.$/\1/' + ) + printf '%s\n%s\n\n' "$filename" "$new_filename" + [ "$filename" != "$new_filename" ] && git mv "$filename" "$new_filename" + done < <(find_name) + + if [ "$(find_name | wc -l)" != "0" ]; then + echo "Still some files to treat:" + find_name + else + echo "Done" + fi +} + +main() { + if [ "$1" = "--check" ]; then + check_name + else + rename_test + fi +} + +main "$@" diff --git "a/test/fast/Aliases/\"nvm alias\" should not accept aliases with slashes" b/test/fast/Aliases/'nvm alias' should not accept aliases with slashes similarity index 100% rename from "test/fast/Aliases/\"nvm alias\" should not accept aliases with slashes" rename to test/fast/Aliases/'nvm alias' should not accept aliases with slashes diff --git "a/test/fast/Aliases/\"nvm unalias\" should accept aliases when they shadow a built-in alias" b/test/fast/Aliases/'nvm unalias' should accept aliases when they shadow a built-in alias similarity index 100% rename from "test/fast/Aliases/\"nvm unalias\" should accept aliases when they shadow a built-in alias" rename to test/fast/Aliases/'nvm unalias' should accept aliases when they shadow a built-in alias diff --git "a/test/fast/Aliases/\"nvm unalias\" should not accept aliases with names equal to built-in alias" b/test/fast/Aliases/'nvm unalias' should not accept aliases with names equal to built-in alias similarity index 100% rename from "test/fast/Aliases/\"nvm unalias\" should not accept aliases with names equal to built-in alias" rename to test/fast/Aliases/'nvm unalias' should not accept aliases with names equal to built-in alias diff --git "a/test/fast/Aliases/\"nvm unalias\" should not accept aliases with slashes" b/test/fast/Aliases/'nvm unalias' should not accept aliases with slashes similarity index 100% rename from "test/fast/Aliases/\"nvm unalias\" should not accept aliases with slashes" rename to test/fast/Aliases/'nvm unalias' should not accept aliases with slashes diff --git "a/test/fast/Aliases/Running \"nvm alias \" again should change the target" "b/test/fast/Aliases/Running 'nvm alias \313\202aliasname\313\203 \313\202target\313\203' again should change the target" similarity index 100% rename from "test/fast/Aliases/Running \"nvm alias \" again should change the target" rename to "test/fast/Aliases/Running 'nvm alias \313\202aliasname\313\203 \313\202target\313\203' again should change the target" diff --git "a/test/fast/Aliases/Running \"nvm alias \" should list but one alias." "b/test/fast/Aliases/Running 'nvm alias \313\202aliasname\313\203' should list but one alias" similarity index 100% rename from "test/fast/Aliases/Running \"nvm alias \" should list but one alias." rename to "test/fast/Aliases/Running 'nvm alias \313\202aliasname\313\203' should list but one alias" diff --git "a/test/fast/Aliases/Running \"nvm alias\" lists implicit aliases when they do not exist" b/test/fast/Aliases/Running 'nvm alias' lists implicit aliases when they do not exist similarity index 100% rename from "test/fast/Aliases/Running \"nvm alias\" lists implicit aliases when they do not exist" rename to test/fast/Aliases/Running 'nvm alias' lists implicit aliases when they do not exist diff --git "a/test/fast/Aliases/Running \"nvm alias\" lists manual aliases instead of implicit aliases when present" b/test/fast/Aliases/Running 'nvm alias' lists manual aliases instead of implicit aliases when present similarity index 100% rename from "test/fast/Aliases/Running \"nvm alias\" lists manual aliases instead of implicit aliases when present" rename to test/fast/Aliases/Running 'nvm alias' lists manual aliases instead of implicit aliases when present diff --git "a/test/fast/Aliases/Running \"nvm alias\" should list all aliases." b/test/fast/Aliases/Running 'nvm alias' should list all aliases similarity index 100% rename from "test/fast/Aliases/Running \"nvm alias\" should list all aliases." rename to test/fast/Aliases/Running 'nvm alias' should list all aliases diff --git "a/test/fast/Aliases/lts/\"nvm alias\" should ensure LTS alias dir exists" b/test/fast/Aliases/lts/'nvm alias' should ensure LTS alias dir exists similarity index 100% rename from "test/fast/Aliases/lts/\"nvm alias\" should ensure LTS alias dir exists" rename to test/fast/Aliases/lts/'nvm alias' should ensure LTS alias dir exists diff --git "a/test/fast/Listing paths/Running \"nvm which 0.0.2\" should display only version 0.0.2." b/test/fast/Listing paths/Running 'nvm which 0.0.2' should display only version 0.0.2 similarity index 100% rename from "test/fast/Listing paths/Running \"nvm which 0.0.2\" should display only version 0.0.2." rename to test/fast/Listing paths/Running 'nvm which 0.0.2' should display only version 0.0.2 diff --git "a/test/fast/Listing paths/Running \"nvm which foo\" should return a nonzero exit code when not found" b/test/fast/Listing paths/Running 'nvm which foo' should return a nonzero exit code when not found similarity index 100% rename from "test/fast/Listing paths/Running \"nvm which foo\" should return a nonzero exit code when not found" rename to test/fast/Listing paths/Running 'nvm which foo' should return a nonzero exit code when not found diff --git "a/test/fast/Listing versions/Running \"nvm ls --no-alias\" does not call into nvm_alias" b/test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls --no-alias\" does not call into nvm_alias" rename to test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias diff --git "a/test/fast/Listing versions/Running \"nvm ls --no-alias\" with a pattern errors" b/test/fast/Listing versions/Running 'nvm ls --no-alias' with a pattern errors similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls --no-alias\" with a pattern errors" rename to test/fast/Listing versions/Running 'nvm ls --no-alias' with a pattern errors diff --git "a/test/fast/Listing versions/Running \"nvm ls 0.0.2\" should display only version 0.0.2." b/test/fast/Listing versions/Running 'nvm ls 0.0.2' should display only version 0.0.2 similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls 0.0.2\" should display only version 0.0.2." rename to test/fast/Listing versions/Running 'nvm ls 0.0.2' should display only version 0.0.2 diff --git "a/test/fast/Listing versions/Running \"nvm ls 0.2\" should display only 0.2.x versions." b/test/fast/Listing versions/Running 'nvm ls 0.2' should display only 0.2.x versions similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls 0.2\" should display only 0.2.x versions." rename to test/fast/Listing versions/Running 'nvm ls 0.2' should display only 0.2.x versions diff --git "a/test/fast/Listing versions/Running \"nvm ls foo\" should return a nonzero exit code when not found" b/test/fast/Listing versions/Running 'nvm ls foo' should return a nonzero exit code when not found similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls foo\" should return a nonzero exit code when not found" rename to test/fast/Listing versions/Running 'nvm ls foo' should return a nonzero exit code when not found diff --git "a/test/fast/Listing versions/Running \"nvm ls io\" should return NA" b/test/fast/Listing versions/Running 'nvm ls io' should return NA similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls io\" should return NA" rename to test/fast/Listing versions/Running 'nvm ls io' should return NA diff --git "a/test/fast/Listing versions/Running \"nvm ls node_\" should return a nonzero exit code when not found" b/test/fast/Listing versions/Running 'nvm ls node_' should return a nonzero exit code when not found similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls node_\" should return a nonzero exit code when not found" rename to test/fast/Listing versions/Running 'nvm ls node_' should return a nonzero exit code when not found diff --git "a/test/fast/Listing versions/Running \"nvm ls stable\" and \"nvm ls unstable\" should return the appropriate implicit alias" b/test/fast/Listing versions/Running 'nvm ls stable' and 'nvm ls unstable' should return the appropriate implicit alias similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls stable\" and \"nvm ls unstable\" should return the appropriate implicit alias" rename to test/fast/Listing versions/Running 'nvm ls stable' and 'nvm ls unstable' should return the appropriate implicit alias diff --git "a/test/fast/Listing versions/Running \"nvm ls system\" should include \"system\" when appropriate" b/test/fast/Listing versions/Running 'nvm ls system' should include 'system' when appropriate similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls system\" should include \"system\" when appropriate" rename to test/fast/Listing versions/Running 'nvm ls system' should include 'system' when appropriate diff --git "a/test/fast/Listing versions/Running \"nvm ls\" calls into nvm_alias" b/test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" calls into nvm_alias" rename to test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias diff --git "a/test/fast/Listing versions/Running \"nvm ls\" should display all installed versions." b/test/fast/Listing versions/Running 'nvm ls' should display all installed versions similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" should display all installed versions." rename to test/fast/Listing versions/Running 'nvm ls' should display all installed versions diff --git "a/test/fast/Listing versions/Running \"nvm ls\" should filter out \".nvm\"" b/test/fast/Listing versions/Running 'nvm ls' should filter out '.nvm' similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" should filter out \".nvm\"" rename to test/fast/Listing versions/Running 'nvm ls' should filter out '.nvm' diff --git "a/test/fast/Listing versions/Running \"nvm ls\" should filter out \"versions\"" b/test/fast/Listing versions/Running 'nvm ls' should filter out 'versions' similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" should filter out \"versions\"" rename to test/fast/Listing versions/Running 'nvm ls' should filter out 'versions' diff --git "a/test/fast/Listing versions/Running \"nvm ls\" should include \"system\" when appropriate" b/test/fast/Listing versions/Running 'nvm ls' should include 'system' when appropriate similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" should include \"system\" when appropriate" rename to test/fast/Listing versions/Running 'nvm ls' should include 'system' when appropriate diff --git "a/test/fast/Listing versions/Running \"nvm ls\" should list versions in the \"versions\" directory" b/test/fast/Listing versions/Running 'nvm ls' should list versions in the 'versions' directory similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" should list versions in the \"versions\" directory" rename to test/fast/Listing versions/Running 'nvm ls' should list versions in the 'versions' directory diff --git "a/test/fast/Listing versions/Running \"nvm ls\" should not show a trailing slash" b/test/fast/Listing versions/Running 'nvm ls' should not show a trailing slash similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" should not show a trailing slash" rename to test/fast/Listing versions/Running 'nvm ls' should not show a trailing slash diff --git "a/test/fast/Listing versions/Running \"nvm ls\" with node-like versioning vx.x.x should only list a matched version" b/test/fast/Listing versions/Running 'nvm ls' with node-like versioning vx.x.x should only list a matched version similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" with node-like versioning vx.x.x should only list a matched version" rename to test/fast/Listing versions/Running 'nvm ls' with node-like versioning vx.x.x should only list a matched version diff --git "a/test/fast/Listing versions/Running \"nvm ls\" with nounset should not fail." b/test/fast/Listing versions/Running 'nvm ls' with nounset should not fail similarity index 100% rename from "test/fast/Listing versions/Running \"nvm ls\" with nounset should not fail." rename to test/fast/Listing versions/Running 'nvm ls' with nounset should not fail diff --git "a/test/fast/Running \"nvm alias\" should create a file in the alias directory." b/test/fast/Running 'nvm alias' should create a file in the alias directory similarity index 100% rename from "test/fast/Running \"nvm alias\" should create a file in the alias directory." rename to test/fast/Running 'nvm alias' should create a file in the alias directory diff --git "a/test/fast/Running \"nvm current\" should display current nvm environment." b/test/fast/Running 'nvm current' should display current nvm environment similarity index 100% rename from "test/fast/Running \"nvm current\" should display current nvm environment." rename to test/fast/Running 'nvm current' should display current nvm environment diff --git "a/test/fast/Running \"nvm deactivate\" should unset the nvm environment variables." b/test/fast/Running 'nvm deactivate' should unset the nvm environment variables similarity index 100% rename from "test/fast/Running \"nvm deactivate\" should unset the nvm environment variables." rename to test/fast/Running 'nvm deactivate' should unset the nvm environment variables diff --git "a/test/fast/Running \"nvm install\" with \"--reinstall-packages-from\" requires a valid version" b/test/fast/Running 'nvm install' with '--reinstall-packages-from' requires a valid version similarity index 100% rename from "test/fast/Running \"nvm install\" with \"--reinstall-packages-from\" requires a valid version" rename to test/fast/Running 'nvm install' with '--reinstall-packages-from' requires a valid version diff --git "a/test/fast/Running \"nvm install\" with an invalid version fails nicely" b/test/fast/Running 'nvm install' with an invalid version fails nicely similarity index 100% rename from "test/fast/Running \"nvm install\" with an invalid version fails nicely" rename to test/fast/Running 'nvm install' with an invalid version fails nicely diff --git "a/test/fast/Running \"nvm unalias\" should remove the alias file." b/test/fast/Running 'nvm unalias' should remove the alias file similarity index 100% rename from "test/fast/Running \"nvm unalias\" should remove the alias file." rename to test/fast/Running 'nvm unalias' should remove the alias file diff --git "a/test/fast/Running \"nvm uninstall\" should remove the appropriate directory." b/test/fast/Running 'nvm uninstall' should remove the appropriate directory similarity index 100% rename from "test/fast/Running \"nvm uninstall\" should remove the appropriate directory." rename to test/fast/Running 'nvm uninstall' should remove the appropriate directory diff --git "a/test/fast/Running \"nvm uninstall\" with incorrect file permissions fails nicely" b/test/fast/Running 'nvm uninstall' with incorrect file permissions fails nicely similarity index 100% rename from "test/fast/Running \"nvm uninstall\" with incorrect file permissions fails nicely" rename to test/fast/Running 'nvm uninstall' with incorrect file permissions fails nicely diff --git "a/test/fast/Running \"nvm unload\" should unset all function and variables." b/test/fast/Running 'nvm unload' should unset all function and variables similarity index 100% rename from "test/fast/Running \"nvm unload\" should unset all function and variables." rename to test/fast/Running 'nvm unload' should unset all function and variables diff --git "a/test/fast/Running \"nvm use foo\" where \"foo\" is circular aborts" b/test/fast/Running 'nvm use foo' where 'foo' is circular aborts similarity index 100% rename from "test/fast/Running \"nvm use foo\" where \"foo\" is circular aborts" rename to test/fast/Running 'nvm use foo' where 'foo' is circular aborts diff --git "a/test/fast/Running \"nvm use iojs\" uses latest io.js version" b/test/fast/Running 'nvm use iojs' uses latest io.js version similarity index 100% rename from "test/fast/Running \"nvm use iojs\" uses latest io.js version" rename to test/fast/Running 'nvm use iojs' uses latest io.js version diff --git "a/test/fast/Running \"nvm use system\" should work as expected" b/test/fast/Running 'nvm use system' should work as expected similarity index 100% rename from "test/fast/Running \"nvm use system\" should work as expected" rename to test/fast/Running 'nvm use system' should work as expected diff --git "a/test/fast/Running \"nvm use x\" should create and change the \"current\" symlink" b/test/fast/Running 'nvm use x' should create and change the 'current' symlink similarity index 100% rename from "test/fast/Running \"nvm use x\" should create and change the \"current\" symlink" rename to test/fast/Running 'nvm use x' should create and change the 'current' symlink diff --git "a/test/fast/Running \"nvm use x\" should not create the \"current\" symlink if $NVM_SYMLINK_CURRENT is false" b/test/fast/Running 'nvm use x' should not create the 'current' symlink if $NVM_SYMLINK_CURRENT is false similarity index 100% rename from "test/fast/Running \"nvm use x\" should not create the \"current\" symlink if $NVM_SYMLINK_CURRENT is false" rename to test/fast/Running 'nvm use x' should not create the 'current' symlink if $NVM_SYMLINK_CURRENT is false diff --git "a/test/fast/Running \"nvm use\" should drop CR char automatically." b/test/fast/Running 'nvm use' should drop CR char automatically similarity index 100% rename from "test/fast/Running \"nvm use\" should drop CR char automatically." rename to test/fast/Running 'nvm use' should drop CR char automatically diff --git a/test/fast/Sourcing nvm.sh should make the nvm command available. b/test/fast/Sourcing nvm.sh should make the nvm command available similarity index 100% rename from test/fast/Sourcing nvm.sh should make the nvm command available. rename to test/fast/Sourcing nvm.sh should make the nvm command available diff --git "a/test/slow/Running \"nvm current\" should display current nvm environment." b/test/slow/Running 'nvm current' should display current nvm environment similarity index 100% rename from "test/slow/Running \"nvm current\" should display current nvm environment." rename to test/slow/Running 'nvm current' should display current nvm environment diff --git "a/test/slow/nvm exec/Preamble works and respects \"silent\" flag" b/test/slow/nvm exec/Preamble works and respects 'silent' flag similarity index 100% rename from "test/slow/nvm exec/Preamble works and respects \"silent\" flag" rename to test/slow/nvm exec/Preamble works and respects 'silent' flag diff --git "a/test/slow/nvm exec/Running \"nvm exec --lts\" should work" b/test/slow/nvm exec/Running 'nvm exec --lts' should work similarity index 100% rename from "test/slow/nvm exec/Running \"nvm exec --lts\" should work" rename to test/slow/nvm exec/Running 'nvm exec --lts' should work diff --git "a/test/slow/nvm exec/Running \"nvm exec 0.x\" should work" b/test/slow/nvm exec/Running 'nvm exec 0.x' should work similarity index 100% rename from "test/slow/nvm exec/Running \"nvm exec 0.x\" should work" rename to test/slow/nvm exec/Running 'nvm exec 0.x' should work diff --git "a/test/slow/nvm exec/Running \"nvm exec\" should pick up .nvmrc version" b/test/slow/nvm exec/Running 'nvm exec' should pick up .nvmrc version similarity index 100% rename from "test/slow/nvm exec/Running \"nvm exec\" should pick up .nvmrc version" rename to test/slow/nvm exec/Running 'nvm exec' should pick up .nvmrc version diff --git "a/test/slow/nvm reinstall-packages/Running \"nvm copy-packages $(nvm ls current)\" should error out" b/test/slow/nvm reinstall-packages/Running 'nvm copy-packages $(nvm ls current)' should error out similarity index 100% rename from "test/slow/nvm reinstall-packages/Running \"nvm copy-packages $(nvm ls current)\" should error out" rename to test/slow/nvm reinstall-packages/Running 'nvm copy-packages $(nvm ls current)' should error out diff --git "a/test/slow/nvm run/Running \"nvm run --harmony --version\" should work" b/test/slow/nvm run/Running 'nvm run --harmony --version' should work similarity index 100% rename from "test/slow/nvm run/Running \"nvm run --harmony --version\" should work" rename to test/slow/nvm run/Running 'nvm run --harmony --version' should work diff --git "a/test/slow/nvm run/Running \"nvm run --lts\" should work" b/test/slow/nvm run/Running 'nvm run --lts' should work similarity index 100% rename from "test/slow/nvm run/Running \"nvm run --lts\" should work" rename to test/slow/nvm run/Running 'nvm run --lts' should work diff --git "a/test/slow/nvm run/Running \"nvm run 0.x\" should error out sensibly when 0.x is not installed" b/test/slow/nvm run/Running 'nvm run 0.x' should error out sensibly when 0.x is not installed similarity index 100% rename from "test/slow/nvm run/Running \"nvm run 0.x\" should error out sensibly when 0.x is not installed" rename to test/slow/nvm run/Running 'nvm run 0.x' should error out sensibly when 0.x is not installed diff --git "a/test/slow/nvm run/Running \"nvm run 0.x\" should work" b/test/slow/nvm run/Running 'nvm run 0.x' should work similarity index 100% rename from "test/slow/nvm run/Running \"nvm run 0.x\" should work" rename to test/slow/nvm run/Running 'nvm run 0.x' should work diff --git "a/test/slow/nvm run/Running \"nvm run\" should pick up .nvmrc version" b/test/slow/nvm run/Running 'nvm run' should pick up .nvmrc version similarity index 100% rename from "test/slow/nvm run/Running \"nvm run\" should pick up .nvmrc version" rename to test/slow/nvm run/Running 'nvm run' should pick up .nvmrc version diff --git "a/test/slow/nvm uninstall/Running \"nvm uninstall 0.12.6\" uninstalls v0.12.6" b/test/slow/nvm uninstall/Running 'nvm uninstall 0.12.6' uninstalls v0.12.6 similarity index 100% rename from "test/slow/nvm uninstall/Running \"nvm uninstall 0.12.6\" uninstalls v0.12.6" rename to test/slow/nvm uninstall/Running 'nvm uninstall 0.12.6' uninstalls v0.12.6 diff --git "a/test/slow/nvm uninstall/Running \"nvm uninstall\" with incorrect file permissions fails nicely" b/test/slow/nvm uninstall/Running 'nvm uninstall' with incorrect file permissions fails nicely similarity index 100% rename from "test/slow/nvm uninstall/Running \"nvm uninstall\" with incorrect file permissions fails nicely" rename to test/slow/nvm uninstall/Running 'nvm uninstall' with incorrect file permissions fails nicely diff --git "a/test/slow/nvm use/Running \"nvm use --lts\" uses latest LTS version" b/test/slow/nvm use/Running 'nvm use --lts' uses latest LTS version similarity index 100% rename from "test/slow/nvm use/Running \"nvm use --lts\" uses latest LTS version" rename to test/slow/nvm use/Running 'nvm use --lts' uses latest LTS version diff --git "a/test/slow/nvm use/Running \"nvm use --lts=foo\" uses latest \"foo\" LTS version" b/test/slow/nvm use/Running 'nvm use --lts=foo' uses latest 'foo' LTS version similarity index 100% rename from "test/slow/nvm use/Running \"nvm use --lts=foo\" uses latest \"foo\" LTS version" rename to test/slow/nvm use/Running 'nvm use --lts=foo' uses latest 'foo' LTS version diff --git "a/test/slow/nvm use/Running \"nvm use iojs\" uses latest io.js version" b/test/slow/nvm use/Running 'nvm use iojs' uses latest io.js version similarity index 100% rename from "test/slow/nvm use/Running \"nvm use iojs\" uses latest io.js version" rename to test/slow/nvm use/Running 'nvm use iojs' uses latest io.js version diff --git "a/test/slow/nvm use/Running \"nvm use node --silent\" doesn't print anything" b/test/slow/nvm use/Running 'nvm use node --silent' doesn't print anything similarity index 100% rename from "test/slow/nvm use/Running \"nvm use node --silent\" doesn't print anything" rename to test/slow/nvm use/Running 'nvm use node --silent' doesn't print anything diff --git "a/test/slow/nvm use/Running \"nvm use node\" uses latest stable node version" b/test/slow/nvm use/Running 'nvm use node' uses latest stable node version similarity index 100% rename from "test/slow/nvm use/Running \"nvm use node\" uses latest stable node version" rename to test/slow/nvm use/Running 'nvm use node' uses latest stable node version diff --git "a/test/slow/nvm use/Running \"nvm use v1.0.0\" uses iojs-v1.0.0 iojs version" b/test/slow/nvm use/Running 'nvm use v1.0.0' uses iojs-v1.0.0 iojs version similarity index 100% rename from "test/slow/nvm use/Running \"nvm use v1.0.0\" uses iojs-v1.0.0 iojs version" rename to test/slow/nvm use/Running 'nvm use v1.0.0' uses iojs-v1.0.0 iojs version diff --git "a/test/slow/nvm use/Running \"nvm use\" calls \"nvm_die_on_prefix\"" b/test/slow/nvm use/Running 'nvm use' calls 'nvm_die_on_prefix' similarity index 100% rename from "test/slow/nvm use/Running \"nvm use\" calls \"nvm_die_on_prefix\"" rename to test/slow/nvm use/Running 'nvm use' calls 'nvm_die_on_prefix'