Adding upstream version 1.2.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
3a3aa427d7
commit
e7ed09875d
58 changed files with 3068 additions and 0 deletions
22
selfupdate/e2e_test.go
Normal file
22
selfupdate/e2e_test.go
Normal file
|
@ -0,0 +1,22 @@
|
|||
package selfupdate
|
||||
|
||||
import (
|
||||
"os"
|
||||
"os/exec"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestRunSelfUpdateExample(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping test in short mode.")
|
||||
}
|
||||
|
||||
t.Skip("TODO")
|
||||
|
||||
if err := exec.Command("go", "build", "../cmd/selfupdate-example").Run(); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer os.Remove("selfupdate-example")
|
||||
|
||||
// TODO
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue