From 3d59a72ba952602ca046df532fe2a3e8e16f1046 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 23 Jun 2016 21:56:50 +0200 Subject: Drop deprecated "-emenames" option The EMENames feature flag is already mandatory, dropping the command line option is the final step. --- tests/example_filesystems/example_filesystems_test.go | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'tests/example_filesystems/example_filesystems_test.go') diff --git a/tests/example_filesystems/example_filesystems_test.go b/tests/example_filesystems/example_filesystems_test.go index d91a040..0132da0 100644 --- a/tests/example_filesystems/example_filesystems_test.go +++ b/tests/example_filesystems/example_filesystems_test.go @@ -104,24 +104,12 @@ func TestExampleFSv04(t *testing.T) { // Test example_filesystems/v0.5 // with password mount and -masterkey mount func TestExampleFSv05(t *testing.T) { - pDir := test_helpers.TmpDir + "TestExampleFsV05/" cDir := "v0.5" - err := os.Mkdir(pDir, 0777) - if err != nil { - t.Fatal(err) - } - err = test_helpers.Mount(cDir, pDir, false, "-extpass", "echo test") + pDir := test_helpers.TmpDir + cDir + err := test_helpers.Mount(cDir, pDir, false, "-extpass", "echo test") if err == nil { t.Errorf("Mounting deprecated FS should fail") } - test_helpers.MountOrFatal(t, cDir, pDir, "-masterkey", "199eae55-36bff4af-83b9a3a2-4fa16f65-"+ - "1549ccdb-2d08d1f0-b1b26965-1b61f896", "-emenames=false", "-gcmiv128=false") - checkExampleFS(t, pDir, true) - test_helpers.Unmount(pDir) - err = os.Remove(pDir) - if err != nil { - t.Error(err) - } } // Test example_filesystems/v0.6 -- cgit v1.2.3