*: remove unused stuff

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream-commit: 59648fc1e9d99cae7f4c5f692fe25a73d0651a71
Component: engine
This commit is contained in:
Antonio Murdaca
2016-03-14 18:41:30 +01:00
parent 83045d547d
commit 4e53d3095a
4 changed files with 0 additions and 65 deletions

View File

@ -47,17 +47,6 @@ func assertNotDirectoryError(t *testing.T, err error) {
}
}
func assertPermissionError(t *testing.T, err error) {
perr, ok := err.(*os.PathError)
if !ok {
t.Fatalf("Unexpected error %#v, expected path error", err)
}
if perr.Err != syscall.EACCES {
t.Fatalf("Unexpected error %s, expected %s", perr.Err, syscall.EACCES)
}
}
func TestCommitFailure(t *testing.T) {
fms, td, cleanup := newFileMetadataStore(t)
defer cleanup()