summaryrefslogtreecommitdiff
path: root/integration_tests
diff options
context:
space:
mode:
Diffstat (limited to 'integration_tests')
-rw-r--r--integration_tests/example_filesystems_test.go4
-rw-r--r--integration_tests/helpers.go2
-rw-r--r--integration_tests/main_test.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/integration_tests/example_filesystems_test.go b/integration_tests/example_filesystems_test.go
index be9ef67..644f8e7 100644
--- a/integration_tests/example_filesystems_test.go
+++ b/integration_tests/example_filesystems_test.go
@@ -33,11 +33,11 @@ func TestExampleFsNormal(t *testing.T) {
t.Fatal(err)
}
mount(cDir, pDir, "-extpass", "echo test")
- checkStatusTxt(t, pDir + "status.txt")
+ checkStatusTxt(t, pDir+"status.txt")
unmount(pDir)
mount(cDir, pDir, "-masterkey", "74676e34-0b47c145-00dac61a-17a92316-"+
"bb57044c-e205b71f-65f4fdca-7cabd4b3")
- checkStatusTxt(t, pDir + "status.txt")
+ checkStatusTxt(t, pDir+"status.txt")
unmount(pDir)
err = os.Remove(pDir)
if err != nil {
diff --git a/integration_tests/helpers.go b/integration_tests/helpers.go
index 3d6811f..6fc65cf 100644
--- a/integration_tests/helpers.go
+++ b/integration_tests/helpers.go
@@ -39,7 +39,7 @@ func resetTmpDir() {
os.Exit(1)
}
dirIV := make([]byte, 16)
- err = ioutil.WriteFile(defaultCipherDir + "gocryptfs.diriv", dirIV, 0444)
+ err = ioutil.WriteFile(defaultCipherDir+"gocryptfs.diriv", dirIV, 0444)
if err != nil {
fmt.Println(err)
os.Exit(1)
diff --git a/integration_tests/main_test.go b/integration_tests/main_test.go
index e46e2e4..f065c4a 100644
--- a/integration_tests/main_test.go
+++ b/integration_tests/main_test.go
@@ -3,7 +3,6 @@ package integration_tests
// File reading, writing, modification, truncate
import (
- "syscall"
"bytes"
"crypto/md5"
"encoding/hex"
@@ -13,6 +12,7 @@ import (
"os"
"runtime"
"sync"
+ "syscall"
"testing"
)