(t *testing.T, tester shellTester)
| 571 | } |
| 572 | |
| 573 | func updateToHead(t *testing.T, tester shellTester) string { |
| 574 | out := tester.RunInteractiveShell(t, " /tmp/client install\necho postupdate") |
| 575 | require.Equal(t, "postupdate\n", out) |
| 576 | return "v0.Unknown" |
| 577 | } |
| 578 | |
| 579 | func testUpdateFromHeadToRelease(t *testing.T, tester shellTester) { |
| 580 | testGenericUpdate(t, tester, installFromHead, updateToRelease) |
nothing calls this directly
no test coverage detected