From d25fcc6a4b095e37c77cce8f9de2ec0f12007ed5 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 8 Oct 2016 22:25:08 +0200 Subject: reverse: gocryptfs.conf was missing from the directory listings Fix the test for that and add checks in example_filesystems_test. --- tests/reverse/correctness_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/reverse') 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) -- cgit v1.2.3