pinebook-tests/random-output/main.go

22 lines
603 B
Go

package main
/*
import "log"
import "fmt"
import "reflect"
import "os"
import "github.com/gookit/config"
*/
func main() {
parseConfig()
// shellRAW("localhost", 5)
// simpleProcess("ping -c 10 localhost")
// shell("ping localhost -c 5", 10)
// shell("if=/home/pinebook/factory/factory-pine14inch of=/dev/sdb2 status=progress bs=1M oflag=sync count=300", 10)
// shell("rsync -av --progress --inplace /home/pinebook/factory/factory-pine14inch work3.lab.wit.com:/home/pinebook/factory/")
shell("rsync -av --progress /home/pinebook/factory/FACTORY-IMAGER-ROOTFS work3:/home/pinebook/factory/")
}