* Add a test for nix-log2xml.
This commit is contained in:
		
							parent
							
								
									458820df6c
								
							
						
					
					
						commit
						e48bd8c8b5
					
				
					 7 changed files with 41 additions and 8 deletions
				
			
		|  | @ -6,7 +6,8 @@ outPath1=$($nixstore -q $drvPath1) | |||
| drvPath2=$($nixinstantiate gc-concurrent2.nix) | ||||
| outPath2=$($nixstore -q $drvPath2) | ||||
| 
 | ||||
| ln -s $drvPath2 "$NIX_STATE_DIR"/gcroots/foo2 | ||||
| rm -f "$NIX_STATE_DIR"/gcroots/foo | ||||
| ln -s $drvPath2 "$NIX_STATE_DIR"/gcroots/foo | ||||
| 
 | ||||
| # Start build #1 in the background.  It starts immediately. | ||||
| $nixstore -rvv "$drvPath1" & | ||||
|  | @ -35,3 +36,5 @@ cat $outPath1/input-2/bar | |||
| 
 | ||||
| # Build #2 should have failed because its derivation got garbage collected. | ||||
| cat $outPath2/foobar | ||||
| 
 | ||||
| rm "$NIX_STATE_DIR"/gcroots/foo | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue