MCPcopy
hub / github.com/restic/restic / testRunCheck

Function testRunCheck

cmd/restic/cmd_check_integration_test.go:12–19  ·  view source on GitHub ↗
(t testing.TB, gopts global.Options)

Source from the content-addressed store, hash-verified

10)
11
12func testRunCheck(t testing.TB, gopts global.Options) {
13 t.Helper()
14 output, err := testRunCheckOutput(t, gopts, true)
15 if err != nil {
16 t.Error(output)
17 t.Fatalf("unexpected error: %+v", err)
18 }
19}
20
21func testRunCheckMustFail(t testing.TB, gopts global.Options) {
22 t.Helper()

Callers 15

TestCopyFunction · 0.85
TestCopyIncrementalFunction · 0.85
TestCopyUnstableJSONFunction · 0.85
TestCopyToEmptyPasswordFunction · 0.85
TestTagFunction · 0.85
createBasicRewriteRepoFunction · 0.85
TestRewriteFunction · 0.85
TestRewriteUnchangedFunction · 0.85
TestRewriteReplaceFunction · 0.85
TestRestoreIncludesFunction · 0.85
TestRestoreFilterFunction · 0.85

Calls 3

testRunCheckOutputFunction · 0.85
FatalfMethod · 0.80
ErrorMethod · 0.65

Tested by

no test coverage detected