]> git.ipfire.org Git - thirdparty/ccache.git/commit
Fix bug testing with ecryptfs
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 10 Sep 2012 13:57:23 +0000 (14:57 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 17 Sep 2012 19:29:33 +0000 (21:29 +0200)
commit1aff1e1425e55585715b423fef79571c8d598523
tree395df3beae77f09d9cce19b0083f6b606b851867
parentbe23d25d8ca8ebf1fad1254349d02d11db603aa7
Fix bug testing with ecryptfs

The test script assumes that zero-length files take up zero disk space,
that the block size is 4k, and that the disk usage will be the file size
rounded up to the nearest block size. Unfortunately these were not true for
ecryptfs.

Additionally, running the test.sh from another directory did not work due
to a bad location assumption in another test.
test.sh