diff options
author | Jakob Unterwurzacher | 2018-04-02 18:32:30 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-04-02 18:32:30 +0200 |
commit | b6c8960b01f9e5366814b0dada57a0b1e6a031d9 (patch) | |
tree | 6a65255c30c7bcd086523fd4e0970d3b59b230de /tests/fsck/fsck_test.go | |
parent | e6caf56ea4ab10e747aa5dfc0a768cb8176ebe6a (diff) |
fsck: clean up log output
Make sure we get only 1 warning output per
problem.
Also, add new corruption types to broken_fs_v1.4.
Diffstat (limited to 'tests/fsck/fsck_test.go')
-rw-r--r-- | tests/fsck/fsck_test.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/fsck/fsck_test.go b/tests/fsck/fsck_test.go index 7506636..b5bbf84 100644 --- a/tests/fsck/fsck_test.go +++ b/tests/fsck/fsck_test.go @@ -2,7 +2,6 @@ package fsck import ( "os/exec" - "strings" "testing" "github.com/rfjakob/gocryptfs/internal/exitcodes" @@ -18,9 +17,4 @@ func TestBrokenFsV14(t *testing.T) { if code != exitcodes.FsckErrors { t.Errorf("wrong exit code, have=%d want=%d", code, exitcodes.FsckErrors) } - lines := strings.Split(out, "\n") - summaryLine := lines[len(lines)-2] - if summaryLine != "fsck: found 5 problems" { - t.Errorf("wrong summary line: %q", summaryLine) - } } |