diff options
author | Jakob Unterwurzacher | 2016-10-08 22:25:08 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-10-08 22:25:08 +0200 |
commit | d25fcc6a4b095e37c77cce8f9de2ec0f12007ed5 (patch) | |
tree | 84fbebc4fa15e7a6f13f8e13315745282426f716 /tests/reverse/correctness_test.go | |
parent | 8efef4b3d6947b59b5ca118369b9a019b5ac8009 (diff) |
reverse: gocryptfs.conf was missing from the directory listings
Fix the test for that and add checks in example_filesystems_test.
Diffstat (limited to 'tests/reverse/correctness_test.go')
-rw-r--r-- | tests/reverse/correctness_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/reverse/correctness_test.go b/tests/reverse/correctness_test.go index c75a1fd..3565ea6 100644 --- a/tests/reverse/correctness_test.go +++ b/tests/reverse/correctness_test.go @@ -4,7 +4,6 @@ import ( "io/ioutil" "os" "testing" - //"time" "github.com/rfjakob/gocryptfs/tests/test_helpers" ) @@ -55,7 +54,9 @@ func TestSymlinks(t *testing.T) { // gocryptfs.conf func TestConfigMapping(t *testing.T) { c := dirB + "/gocryptfs.conf" - test_helpers.VerifyExistence(c) + if !test_helpers.VerifyExistence(c) { + t.Errorf("%s missing", c) + } data, err := ioutil.ReadFile(c) if err != nil { t.Fatal(err) |