Clear NIX_STORE when running the tests
This commit is contained in:
		
							parent
							
								
									7892ad15ab
								
							
						
					
					
						commit
						7861260a5f
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -16,6 +16,7 @@ export NIX_DB_DIR=$TEST_ROOT/db
 | 
				
			||||||
export NIX_CONF_DIR=$TEST_ROOT/etc
 | 
					export NIX_CONF_DIR=$TEST_ROOT/etc
 | 
				
			||||||
export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
 | 
					export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
 | 
				
			||||||
export SHARED=$TEST_ROOT/shared
 | 
					export SHARED=$TEST_ROOT/shared
 | 
				
			||||||
 | 
					export NIX_REMOTE=$NIX_REMOTE_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export PATH=@bindir@:$PATH
 | 
					export PATH=@bindir@:$PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@ source common.sh
 | 
				
			||||||
echo '*** testing slave mode ***'
 | 
					echo '*** testing slave mode ***'
 | 
				
			||||||
clearStore
 | 
					clearStore
 | 
				
			||||||
clearManifests
 | 
					clearManifests
 | 
				
			||||||
NIX_REMOTE=slave $SHELL ./user-envs.sh
 | 
					NIX_REMOTE_=slave $SHELL ./user-envs.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo '*** testing daemon mode ***'
 | 
					echo '*** testing daemon mode ***'
 | 
				
			||||||
clearStore
 | 
					clearStore
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue