Commit Graph

371 Commits (e55b2926d81aa59c28d49c4d4661e9d08ec4475f)

Author SHA1 Message Date
Aaron Jacobs 32da7d5015 FsyncErrorTest.Msync 2015-03-24 13:49:44 +11:00
Aaron Jacobs a0d210e535 Updated msync tests after setting MS_SYNC. 2015-03-24 13:36:33 +11:00
Aaron Jacobs 80c462596d Oops, set MS_SYNC or Linux does nothing. 2015-03-24 13:32:41 +11:00
Aaron Jacobs 3aaca555a4 NoErrorsTest.Mmap_WithMsync_CloseBeforeMunmap 2015-03-24 13:01:32 +11:00
Aaron Jacobs 2f5062ac6c Oops, msync helper is broken. 2015-03-24 13:00:18 +11:00
Aaron Jacobs 331695907b Oops, forgot to msync. 2015-03-24 12:58:59 +11:00
Aaron Jacobs 597e126409 NoErrorsTest.Mmap_WithMsync_MunmapBeforeClose 2015-03-24 12:57:38 +11:00
Aaron Jacobs 0888482d8a Implemented msync helper. 2015-03-24 12:56:01 +11:00
Aaron Jacobs edd7a48815 Declared msync-related tests. 2015-03-24 12:53:40 +11:00
Aaron Jacobs a032446479 Removed GOMAXPROCS-related workarounds.
These are no longer needed as of the work in #4.
2015-03-24 12:53:12 +11:00
Aaron Jacobs e4e12848fb Fixed fdatasync build errors on darwin. 2015-03-24 12:31:16 +11:00
Aaron Jacobs cf22c43238 Removed redundant checks that don't work for all error types. 2015-03-24 12:26:22 +11:00
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 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