mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	Organizing nvm install tests better.
				
					
				
			This commit is contained in:
		
							
								
								
									
										16
									
								
								test/slow/nvm install/install from binary
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										16
									
								
								test/slow/nvm install/install from binary
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| set -e | ||||
| . ../../nvm.sh | ||||
|  | ||||
| VERSION=v0.10.7 | ||||
|  | ||||
| # Remove the stuff we're clobbering. | ||||
| [ -e ../../$VERSION ] && rm -R ../../$VERSION | ||||
|  | ||||
| # Install from binary | ||||
| nvm install $VERSION | ||||
|  | ||||
| # Check | ||||
| [ -d ../../$VERSION ] | ||||
| nvm run $VERSION --version | grep $VERSION | ||||
		Reference in New Issue
	
	Block a user