summaryrefslogtreecommitdiff
path: root/integration_tests/example_filesystems_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-12-10 19:50:45 +0100
committerJakob Unterwurzacher2015-12-10 19:50:45 +0100
commit29336ba61425240e89878049853e0bf4fbd5c148 (patch)
treeb418988ecb744b09792884c6f65165f84dada70a /integration_tests/example_filesystems_test.go
parentb4b9072cc2cb55f177909d4c497f25c3fd1abaf5 (diff)
tests: add v0.6-plaintextnames example filesystem
Diffstat (limited to 'integration_tests/example_filesystems_test.go')
-rw-r--r--integration_tests/example_filesystems_test.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/integration_tests/example_filesystems_test.go b/integration_tests/example_filesystems_test.go
index c3f4966..69cbe0e 100644
--- a/integration_tests/example_filesystems_test.go
+++ b/integration_tests/example_filesystems_test.go
@@ -109,3 +109,25 @@ func TestExampleFsV06(t *testing.T) {
t.Error(err)
}
}
+
+// Test example_filesystems/v0.6
+// with password mount and -masterkey mount
+func TestExampleFsV06PlaintextNames(t *testing.T) {
+ pDir := tmpDir + "TestExampleFsV06PlaintextNames/"
+ cDir := "example_filesystems/v0.6-plaintextnames"
+ err := os.Mkdir(pDir, 0777)
+ if err != nil {
+ t.Fatal(err)
+ }
+ mount(cDir, pDir, "-extpass", "echo test")
+ checkExampleContent(t, pDir)
+ unmount(pDir)
+ mount(cDir, pDir, "-masterkey", "f4690202-595e4593-64c4f7e0-4dddd7d1-"+
+ "303147f9-0ca8aea2-966341a7-52ea8ae9", "-plaintextnames")
+ checkExampleContent(t, pDir)
+ unmount(pDir)
+ err = os.Remove(pDir)
+ if err != nil {
+ t.Error(err)
+ }
+}