summaryrefslogtreecommitdiff
path: root/internal/configfile/config_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-06-05 11:33:54 +0200
committerJakob Unterwurzacher2016-06-05 11:40:13 +0200
commitb97268c94824b8047c8d4f97a68549260e4f6835 (patch)
tree72aa2b1d79ba3b5f7a52439beb605c8e5aa84422 /internal/configfile/config_test.go
parenta602e798b1a65fdfe5e7f0260a34e17ea7ab0615 (diff)
configfile: bake the "Creator" gocryptfs version into the file
This field is added for the convenience of users and may help them to identify which gocryptfs version they need to mount a filesystem. The same information is essentially contained in FeatureFlags, but this is more difficult to decode for humans. It is completely ignored programmatically (also by older gocryptfs versions).
Diffstat (limited to 'internal/configfile/config_test.go')
-rw-r--r--internal/configfile/config_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/configfile/config_test.go b/internal/configfile/config_test.go
index 5468b80..c83c4bd 100644
--- a/internal/configfile/config_test.go
+++ b/internal/configfile/config_test.go
@@ -60,7 +60,7 @@ func TestLoadV2StrangeFeature(t *testing.T) {
}
func TestCreateConfFile(t *testing.T) {
- err := CreateConfFile("config_test/tmp.conf", "test", false, 10)
+ err := CreateConfFile("config_test/tmp.conf", "test", false, 10, "test")
if err != nil {
t.Fatal(err)
}