Debugging

This commit is contained in:
Fedor Korotkiy 2020-02-13 02:50:16 +03:00
parent e227b7e140
commit 796804edab

View file

@ -232,6 +232,10 @@ func runTests(testDir, problem string) error {
for testPkg, testBinary := range testBinaries {
relPath := strings.TrimPrefix(testPkg, moduleImportPath)
ls := exec.Command("ls", "-lah", binCache)
ls.Stdout = os.Stdout
_ = ls.Run()
cmd := exec.Command(testBinary)
if currentUserIsRoot() {
if err := sandbox(cmd); err != nil {