Debugging
This commit is contained in:
parent
e227b7e140
commit
796804edab
1 changed files with 4 additions and 0 deletions
|
@ -232,6 +232,10 @@ func runTests(testDir, problem string) error {
|
||||||
for testPkg, testBinary := range testBinaries {
|
for testPkg, testBinary := range testBinaries {
|
||||||
relPath := strings.TrimPrefix(testPkg, moduleImportPath)
|
relPath := strings.TrimPrefix(testPkg, moduleImportPath)
|
||||||
|
|
||||||
|
ls := exec.Command("ls", "-lah", binCache)
|
||||||
|
ls.Stdout = os.Stdout
|
||||||
|
_ = ls.Run()
|
||||||
|
|
||||||
cmd := exec.Command(testBinary)
|
cmd := exec.Command(testBinary)
|
||||||
if currentUserIsRoot() {
|
if currentUserIsRoot() {
|
||||||
if err := sandbox(cmd); err != nil {
|
if err := sandbox(cmd); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue