tests: ctlsock: check warning for non-canonical paths
This commit is contained in:
parent
0f40afc832
commit
357307cbcf
@ -62,7 +62,10 @@ func TestCtlSock(t *testing.T) {
|
||||
for _, c := range crashers {
|
||||
req.EncryptPath = c
|
||||
// QueryCtlSock calls t.Fatal if it gets EOF when gocryptfs panics
|
||||
test_helpers.QueryCtlSock(t, sock, req)
|
||||
response = test_helpers.QueryCtlSock(t, sock, req)
|
||||
if response.WarnText == "" {
|
||||
t.Errorf("We should get a warning about non-canonical paths here")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user