132ba10011 
					 
					
						
						
							
							disable offensive test  
						
						... 
						
						
						
						Tests we run with `make test` should not require root
privileges or write to system paths! This one does both!
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-08-21 12:27:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9d135fe617 
					 
					
						
						
							
							src/backup/catalog_blob.rs: moved catalog impl. from pxar  
						
						... 
						
						
						
						And avoid loading catalog into memory. 
						
						
					 
					
						2019-08-16 12:27:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9025312aa6 
					 
					
						
						
							
							avoid lifetimes in blob reader/writer  
						
						
						
						
					 
					
						2019-08-16 10:07:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						50c0cdfd28 
					 
					
						
						
							
							tests/blob_writer.rs: avoid stack overflow, simplify tests  
						
						
						
						
					 
					
						2019-08-13 18:10:38 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e7a2b7da08 
					 
					
						
						
							
							tests/blob_writer.rs: test DataBlobWriter  
						
						
						
						
					 
					
						2019-08-12 12:05:11 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2761d6a4f3 
					 
					
						
						
							
							src/pxar/encoder.rs: use BackupCatalogWriter  
						
						
						
						
					 
					
						2019-08-09 09:46:49 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						17ff2cb0e5 
					 
					
						
						
							
							tests/worker-task-abort.rs: use proxmox::tools::try_block  
						
						
						
						
					 
					
						2019-08-05 10:04:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						47651f9530 
					 
					
						
						
							
							pxar: cleanup: move feature flags to src/pxar/flags.rs and omit CA_FORMAT prefix on all of them  
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-08-03 08:51:06 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5b72c9b4f7 
					 
					
						
						
							
							src/pxar/encoder.rs: add new skip_lost_and_found parameter  
						
						
						
						
					 
					
						2019-07-24 12:21:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2eeaacb974 
					 
					
						
						
							
							src/pxar/encoder.rs: allow to pass list of devices  
						
						... 
						
						
						
						For better mount point include control... 
						
						
					 
					
						2019-07-24 08:11:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4204e53560 
					 
					
						
						
							
							tests/pxar.rs: Change rsync options to --archive  
						
						... 
						
						
						
						By this the pxar integrity test checks for even more attributes such as a e.g.
correctly restored timestamp. See `man rsync` for details.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-07-17 09:46:42 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bdf0d82ced 
					 
					
						
						
							
							src/bin/pxar.rs: Make pxar extract target optional  
						
						... 
						
						
						
						In order to improve usablity, the target on archive extraction will be the
current working directory by default.
A different target can be provided via the optional --target <PATH> parameter.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-07-17 09:40:02 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b344461b33 
					 
					
						
						
							
							pxar: pass feature_flags to encoder/decoder instead of individual flags  
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-05-24 06:11:36 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						238dd1b7ab 
					 
					
						
						
							
							tests/catar.rs: Pass dummy xattr/fcaps feature_flags to encoder.  
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-05-23 06:41:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fe61cc1099 
					 
					
						
						
							
							tests/pxar.rs: Make sure the correct pxar binary is run in the tests.  
						
						... 
						
						
						
						If compiled in debug mode, the debug binary should be tested, in release mode
the release binary has to be invoked.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-05-23 06:31:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						015c5f6bfb 
					 
					
						
						
							
							tests/pxar.rs: Integrity test for pxar  
						
						... 
						
						
						
						Test the integrity of the restored folder content of data previously archived with pxar
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-05-21 06:26:34 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f3832b6355 
					 
					
						
						
							
							tests/worker-task-abort.rs: test abort worker  
						
						
						
						
					 
					
						2019-04-11 08:26:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						23c8415dbe 
					 
					
						
						
							
							tests/catar.rs: make it compile again  
						
						
						
						
					 
					
						2019-04-06 11:26:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						33b1767d05 
					 
					
						
						
							
							protocol: add C header work in progress and test client  
						
						... 
						
						
						
						The test client simply (optionally) requests a list of
hashes of an existing file.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-03-15 12:40:47 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a10bb8b941 
					 
					
						
						
							
							ignore casync test by default  
						
						... 
						
						
						
						because there's no casync package we can build-depend on to
actually run the tests on normal systems...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-02-01 10:41:54 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fdb95d92dd 
					 
					
						
						
							
							fix tests/catar.rs - add missing parameter  
						
						
						
						
					 
					
						2019-01-18 17:39:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5e7a09be0d 
					 
					
						
						
							
							src/backup/archive_index.rs: use close() instead of flush()  
						
						... 
						
						
						
						Also pass a reference to the encoder. 
						
						
					 
					
						2019-01-02 11:02:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						37ea44a540 
					 
					
						
						
							
							add another catart test  
						
						
						
						
					 
					
						2018-12-31 10:22:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a147acfaaf 
					 
					
						
						
							
							add catart test for goodbye table ordering  
						
						
						
						
					 
					
						2018-12-31 10:19:15 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0866748de6 
					 
					
						
						
							
							catar cleanups ...  
						
						
						
						
					 
					
						2018-12-30 17:32:52 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3200579ce9 
					 
					
						
						
							
							add some integreation tests for catar (compare with casync output)  
						
						
						
						
					 
					
						2018-12-30 15:33:43 +01:00