From c2a5303eebc84d616072163f74eef8483c9f5386 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 6 Jun 2016 23:57:42 +0200 Subject: tests: split example_filesystems into its own package Running these tests from integration_tests' TestMain() was awkward because they were run twice with unchanged settings. integration_tests tests everything with OpenSSL and with native Go crypto, but this does not take affect for the example filesystems. To make this work, test_helpers is also split into its own package. --- tests/example_filesystems/v0.6-plaintextnames/abs | 1 + .../v0.6-plaintextnames/gocryptfs.conf | 14 ++++++++++++++ tests/example_filesystems/v0.6-plaintextnames/rel | 1 + tests/example_filesystems/v0.6-plaintextnames/status.txt | Bin 0 -> 56 bytes 4 files changed, 16 insertions(+) create mode 120000 tests/example_filesystems/v0.6-plaintextnames/abs create mode 100644 tests/example_filesystems/v0.6-plaintextnames/gocryptfs.conf create mode 120000 tests/example_filesystems/v0.6-plaintextnames/rel create mode 100644 tests/example_filesystems/v0.6-plaintextnames/status.txt (limited to 'tests/example_filesystems/v0.6-plaintextnames') diff --git a/tests/example_filesystems/v0.6-plaintextnames/abs b/tests/example_filesystems/v0.6-plaintextnames/abs new file mode 120000 index 0000000..e1740fa --- /dev/null +++ b/tests/example_filesystems/v0.6-plaintextnames/abs @@ -0,0 +1 @@ +/a/b/c/d \ No newline at end of file diff --git a/tests/example_filesystems/v0.6-plaintextnames/gocryptfs.conf b/tests/example_filesystems/v0.6-plaintextnames/gocryptfs.conf new file mode 100644 index 0000000..257b7ee --- /dev/null +++ b/tests/example_filesystems/v0.6-plaintextnames/gocryptfs.conf @@ -0,0 +1,14 @@ +{ + "EncryptedKey": "SoTMt+DMqVDia42c7cx8YW6KrnzF9EQVYIq5DGR1yFqNKxtOCBIuXEIKJHYSw1Z8VluKRQmkugTOvyTU", + "ScryptObject": { + "Salt": "83wR2p5eDPtozsP48vizN1rAbYeXOtksvwoAZ9Y0vn4=", + "N": 1024, + "R": 8, + "P": 1, + "KeyLen": 32 + }, + "Version": 2, + "FeatureFlags": [ + "PlaintextNames" + ] +} \ No newline at end of file diff --git a/tests/example_filesystems/v0.6-plaintextnames/rel b/tests/example_filesystems/v0.6-plaintextnames/rel new file mode 120000 index 0000000..8279c75 --- /dev/null +++ b/tests/example_filesystems/v0.6-plaintextnames/rel @@ -0,0 +1 @@ +status.txt \ No newline at end of file diff --git a/tests/example_filesystems/v0.6-plaintextnames/status.txt b/tests/example_filesystems/v0.6-plaintextnames/status.txt new file mode 100644 index 0000000..e5b62fb Binary files /dev/null and b/tests/example_filesystems/v0.6-plaintextnames/status.txt differ -- cgit v1.2.3