���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.nvm
/
test
/
fast
/
Unit tests
/
Viewing: nvm_alias
#!/bin/sh die () { echo "$@" ; cleanup ; exit 1; } cleanup () { rm -rf ../../../alias/test } \. ../../../nvm.sh OUTPUT="$(nvm_alias 2>&1)" EXPECTED_OUTPUT='An alias is required.' [ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'nvm_alias' produced wrong output; got $OUTPUT" EXIT_CODE="$(nvm_alias >/dev/null 2>&1 ; echo $?)" [ "_$EXIT_CODE" = "_1" ] || die "'nvm_alias' exited with $EXIT_CODE, expected 1" rm -rf ../../../alias/nonexistent OUTPUT="$(nvm_alias nonexistent 2>&1)" EXPECTED_OUTPUT='Alias does not exist.' [ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'nvm_alias nonexistent' produced wrong output; got $OUTPUT" EXIT_CODE="$(nvm_alias nonexistent >/dev/null 2>&1 ; echo $?)" [ "_$EXIT_CODE" = "_2" ] || die "'nvm_alias nonexistent' exited with $EXIT_CODE, expected 2" EXPECTED_OUTPUT="0.10" nvm alias test "$EXPECTED_OUTPUT" || die "'nvm alias test $EXPECTED_OUTPUT' failed" OUTPUT="$(nvm_alias test)" [ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "'nvm_alias test' produced wrong output; got $OUTPUT" cleanup
Coded With 💗 by
0x6ick Mod By V1rus_Alfa