tests: configfile: fix spurious test failure
This test fails because Raw64 has been disabled for now.
This commit is contained in:
parent
b7538fc026
commit
b878306d2a
@ -65,7 +65,7 @@ func CreateConfFile(filename string, password string, plaintextNames bool, logN
|
||||
cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagEMENames])
|
||||
cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagLongNames])
|
||||
// TODO enable these and release as v1.3-beta1 once we have enough test
|
||||
// coverage
|
||||
// coverage. Also enable the Raw64 check in TestCreateConfFile()!
|
||||
//cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagRaw64])
|
||||
//cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagHKDF])
|
||||
}
|
||||
|
@ -69,9 +69,11 @@ func TestCreateConfFile(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
// Raw64 is set by default since gocryptfs v1.3
|
||||
if !c.IsFeatureFlagSet(FlagRaw64) {
|
||||
t.Error("FlagRaw64 flag should be set but is not")
|
||||
}
|
||||
/*
|
||||
if !c.IsFeatureFlagSet(FlagRaw64) {
|
||||
t.Error("FlagRaw64 flag should be set but is not")
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
func TestCreateConfFileAESSIV(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user