mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 00:45:49 +08:00
tests from readme
fast tests alias unalias more alias tests tests document testing warn not to run while testing chmod +x deactivate specify the version (commit) of urchin installation test run tests for ls switch unsetopt to the thing creationix has rename tests urchin log adjust urchin version
This commit is contained in:
13
test/fast/teardown_dir
Executable file
13
test/fast/teardown_dir
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
(
|
||||
cd ../..
|
||||
|
||||
# Restore
|
||||
if [ -d bak ]
|
||||
then
|
||||
mv bak/* . || sleep 0s
|
||||
rmdir bak
|
||||
fi
|
||||
mkdir -p src alias
|
||||
)
|
||||
Reference in New Issue
Block a user