summaryrefslogtreecommitdiff
path: root/main_test.go
AgeCommit message (Collapse)Author
2015-11-12tests: move integration tests to separate directoryJakob Unterwurzacher
Also, use new "-defaultonly" flag for benchmarks (only tests with openssl=true plaintextnames=false)
2015-11-03tests: check that the filename encryption is working as expectedJakob Unterwurzacher
Also check that the "gocryptfs.conf" path filtering is working as expected
2015-11-03tests: reduce noise but make test.bash accept "-v"Jakob Unterwurzacher
2015-11-01Refactor ciphertext <-> plaintext offset translation functionsJakob Unterwurzacher
Move all the intelligence into the new file address_translation.go. That the calculations were spread out too much became apparent when adding the file header. This should make the code much easier to modify in the future.
2015-11-01tests: introduce verifySize() for detailed error messagesJakob Unterwurzacher
2015-11-01tests: additionally verify the file size by reading the whole fileJakob Unterwurzacher
2015-11-01tests: verify file size in testWriteNJakob Unterwurzacher
2015-11-01tests: Use /tmp/gocryptfs_main_test temporary directoryJakob Unterwurzacher
Using "/tmp" meant that running the test would delete everything there.
2015-11-01TestRmwRace: abort testing on write failuresJakob Unterwurzacher
Continuing the test will just generate useless noise
2015-11-01Add rmw race testJakob Unterwurzacher
2015-10-11Fix helper scripts for new top-level pathJakob Unterwurzacher
2015-10-11Move main files to top level dirJakob Unterwurzacher
This is in preparation of getting rid of the shell wrapper
2015-10-05Move main binary to gocryptfs_mainJakob Unterwurzacher
That way the wrapper shell script can be named just "gocryptfs"
2015-10-04tests: simplify namesJakob Unterwurzacher
main_test_tmp -> tmp main_benchmark.bash -> benchmark.bash
2015-10-04truncate: Fix bug that caused xfstests generic/030 to failJakob Unterwurzacher
The bug was caused by using cipherOff where plainOff should have been used. Renamed the symbols for less confusion.
2015-10-04Run go fmtJakob Unterwurzacher
2015-10-04tests: add TestFileHolesJakob Unterwurzacher
Create a file with holes by writing to offset 0 (block #0) and offset 4096 (block #1). This test currently fails.
2015-09-30tests: Add append testJakob Unterwurzacher
2015-09-30Implement Truncate() + TestJakob Unterwurzacher
2015-09-18Add --cpuprofile flagJakob Unterwurzacher
2015-09-18Make read benchmark smarter when extending fileJakob Unterwurzacher
2015-09-17Fix read benchmarkJakob Unterwurzacher
2015-09-15Add "--zerokey" option to simplify testing and benchmarkingJakob Unterwurzacher
2015-09-08More debug logging, improve main_test.go (do not use all-zero content)Jakob Unterwurzacher
2015-09-08Add pathfs frontend (uses go-fuse instead of bazil-fuse), part IJakob Unterwurzacher
Currently fails main_test.go, will be fixed in part II
2015-09-06Add README.mdJakob Unterwurzacher
Also, run go fmt
2015-09-06Add streaming read and write benchmarksJakob Unterwurzacher
Run using ./main_benchmark.bash Also, rewrite command line args handling