Commit Graph

485 Commits (e74d8b6a85efa448172de1c738dbe0a10b00bf84)

Author SHA1 Message Date
Aaron Jacobs e74d8b6a85 Added a --debug flag. 2015-03-24 12:25:27 +11:00
Aaron Jacobs db0ab82bdd FsyncErrorTest.Fdatasync 2015-03-24 12:24:00 +11:00
Aaron Jacobs 51f6b01135 NoErrorsTest.Fdatasync 2015-03-24 12:22:25 +11:00
Aaron Jacobs 5f3f94992c Undid debugging changes. 2015-03-24 12:04:47 +11:00
Aaron Jacobs fddf222e4f Declared fdatasync tests. 2015-03-24 12:04:16 +11:00
Aaron Jacobs 096c3fa695 Added a test for directories. 2015-03-24 12:02:48 +11:00
Aaron Jacobs 38862e8650 Set GOMAXPROCS=2 in mount_sample to help flush out issues like #4. 2015-03-24 11:53:32 +11:00
Aaron Jacobs 53bae01f57 Run the flushfs test in a subprocess to eliminate page fault deadlocks.
For #4.
2015-03-24 11:42:01 +11:00
Aaron Jacobs 4584e4de8f Be consistent about file names. 2015-03-24 11:27:58 +11:00
Aaron Jacobs 12b184c011 Clean up after the tool binary. 2015-03-24 11:27:18 +11:00
Aaron Jacobs 6cc47f10ed Unlink mount points on tear-down. 2015-03-24 11:04:15 +11:00
Aaron Jacobs 5a7e50daa6 Use a helper to be more sure that temp files are cleaned up at exit. 2015-03-24 10:59:46 +11:00
Aaron Jacobs b5e00243ba Allow re-using the mount_sample binary across runs. 2015-03-24 10:24:08 +11:00
Aaron Jacobs 6729af8524 Synchronize on ready with a pipe. 2015-03-24 10:08:17 +11:00
Aaron Jacobs 49455cd59c Wait for tool in a goroutine. 2015-03-24 09:59:13 +11:00
Aaron Jacobs b62be9632c Pass report files by file descriptor. 2015-03-24 09:46:05 +11:00
Aaron Jacobs a438466587 Fixed another invocation problem. 2015-03-24 09:27:09 +11:00
Aaron Jacobs 6b6c7c92ca Added a sleep workaround for now. 2015-03-24 09:26:41 +11:00
Aaron Jacobs 61f3528c80 Fixed another invocation bug. 2015-03-24 09:26:16 +11:00
Aaron Jacobs 47445387e7 Fixed an invocation bug. 2015-03-24 09:25:43 +11:00
Aaron Jacobs 258104ae32 Include stderr in exit errors. 2015-03-24 09:22:39 +11:00
Aaron Jacobs 39dfb0c887 Don't hide command termination errors behind unmount errors. 2015-03-24 09:07:30 +11:00
Aaron Jacobs dff6fe8c82 Share unmount code. 2015-03-24 09:00:50 +11:00
Aaron Jacobs 53d662ca0b Fixed go build arg order. 2015-03-24 08:53:52 +11:00
Aaron Jacobs d12a25db1c Fixed two build errors. 2015-03-24 08:53:11 +11:00
Aaron Jacobs 2665bd1342 Other SetUp methods. 2015-03-24 08:52:56 +11:00
Aaron Jacobs f92de1a6e7 NoErrorsTest.SetUp 2015-03-24 08:52:05 +11:00
Aaron Jacobs ddfca9cb6b Implemented readReports. 2015-03-24 08:51:19 +11:00
Aaron Jacobs c090f136cd Implemented getFlushes and getFsyncs. 2015-03-24 08:45:01 +11:00
Aaron Jacobs cab543fa8c Fixed more build errors. 2015-03-24 08:43:24 +11:00
Aaron Jacobs e7dc200b88 Fixed some build errors. 2015-03-24 08:43:03 +11:00
Aaron Jacobs bfa3465cb9 Open and close reporting files. 2015-03-24 08:42:39 +11:00
Aaron Jacobs 01470b8c34 Fixed test names. 2015-03-24 08:40:35 +11:00
Aaron Jacobs f0ae4d753e Recategorized tests. 2015-03-24 08:39:22 +11:00
Aaron Jacobs 5dde9ea0b7 Fixed a silly mistake. 2015-03-23 16:36:07 +11:00
Aaron Jacobs f02cc98b33 Fixed some build errors. 2015-03-23 16:35:42 +11:00
Aaron Jacobs 3924e25eb8 Refactored helpers. 2015-03-23 16:35:19 +11:00
Aaron Jacobs 4ca6ed02c6 flushFSTest.setUp. 2015-03-23 16:34:39 +11:00
Aaron Jacobs 27722cb25a invokeMountSample 2015-03-23 16:32:50 +11:00
Aaron Jacobs ee8e869e35 buildMountSample 2015-03-23 16:31:52 +11:00
Aaron Jacobs 5001868f24 Sketched invokeMountSample. 2015-03-23 16:26:15 +11:00
Aaron Jacobs 9ae1064493 Fixed a comment. 2015-03-23 16:23:22 +11:00
Aaron Jacobs 0a588af19f Fixed some comments. 2015-03-23 16:16:51 +11:00
Aaron Jacobs ff9c68f93c Begain on a SubprocessTest helper. 2015-03-23 16:15:53 +11:00
Aaron Jacobs f211ff829b Renamed testing.go to in_process.go. 2015-03-23 16:13:18 +11:00
Aaron Jacobs 7066fecc45 Began on helper. 2015-03-23 16:12:02 +11:00
Aaron Jacobs e997c8fc91 Began categorizing tests. 2015-03-23 16:11:01 +11:00
Aaron Jacobs ad0a833fa7 makeFlushFS 2015-03-23 16:08:46 +11:00
Aaron Jacobs 215f15bdc7 Sketched makeFS. 2015-03-23 16:01:16 +11:00
Aaron Jacobs 06fb8e2f13 Sketched main. 2015-03-23 16:00:12 +11:00