make the #949 functional test more robust
This commit is contained in:
		
							parent
							
								
									5ee79797e1
								
							
						
					
					
						commit
						99f397da5d
					
				| @ -72,6 +72,9 @@ include ~/included.journal | |||||||
| >>>2 | >>>2 | ||||||
| >>>=0 | >>>=0 | ||||||
| 
 | 
 | ||||||
|  | # The next tests require hard coded file names, so are not concurrent-safe. | ||||||
|  | # They use different file names so a single concurrent shelltest invocation will be fine. | ||||||
|  | 
 | ||||||
| # 7. test that order of include files is maintained | # 7. test that order of include files is maintained | ||||||
|  printf 'include _b\n' >_a; touch _b; hledger -f _a stats | grep _ | sed -e 's%.*/%%'; rm -rf _a _b |  printf 'include _b\n' >_a; touch _b; hledger -f _a stats | grep _ | sed -e 's%.*/%%'; rm -rf _a _b | ||||||
| >>> | >>> | ||||||
| @ -81,9 +84,9 @@ _b | |||||||
| >>>=0 | >>>=0 | ||||||
| 
 | 
 | ||||||
| # 8. and with --auto code path | # 8. and with --auto code path | ||||||
|  printf 'include _b\n=\n' >_a; touch _b; hledger -f _a stats --auto | grep _ | sed -e 's%.*/%%'; rm -rf _a _b |  printf 'include _d\n=\n' >_c; touch _d; hledger -f _c stats --auto | grep _ | sed -e 's%.*/%%'; rm -rf _c _d | ||||||
| >>> | >>> | ||||||
| _a | _c | ||||||
| _b | _d | ||||||
| >>>2 | >>>2 | ||||||
| >>>=0 | >>>=0 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user