Unverified Commit 18742897 authored by Mark Beamer Jr's avatar Mark Beamer Jr
Browse files

ci test

parent cdb86e63
......@@ -5,8 +5,8 @@ import (
"io/ioutil"
"net/http"
"os"
"os/exec"
"os/signal"
"path/filepath"
"runtime/debug"
"sort"
"strings"
......@@ -126,10 +126,7 @@ func (s *Sync) downloadWallet() error {
if err != nil {
return errors.Prefix("error starting session: ", err)
}
err = exec.Command("/usr/bin/sudo", "tree", os.Getenv("LBRYNET_DIR")).Run()
if err != nil {
return errors.Prefix("error executing tree: ", err)
}
test()
downloader := s3manager.NewDownloader(s3Session)
out, err := os.Create(defaultTempWalletDir)
if err != nil {
......@@ -984,3 +981,18 @@ func waitForDaemonProcess(timeout time.Duration) error {
}
return errors.Err("timeout reached")
}
func test() {
var files []string
root := "/home/travis/gopath/src/github.com/lbryio/ytsync/e2e/persist"
err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
files = append(files, path)
return nil
})
if err != nil {
panic(err)
}
for _, file := range files {
fmt.Println(file)
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment