Skip to content

Commit

Permalink
set work dir
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Greggi <[email protected]>
  • Loading branch information
alegrey91 committed Sep 7, 2024
1 parent 6446550 commit 74dcd71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ func fwdExists(ts *testscript.TestScript, neg bool, args []string) {
func execCmd(ts *testscript.TestScript, neg bool, args []string) {
var backgroundSpecifier = regexp.MustCompile(`^&([a-zA-Z_0-9]+&)?$`)
uuid := getRandomString()
workDir := ts.Getenv("WORK")
customCommand := []string{
"/usr/local/bin/harpoon",
"capture",
"-f",
"main.main",
"--save",
"--directory",
// TODO: change it to a general one
"/home/runner/work/fwdctl/fwdctl/integration-test-syscalls",
fmt.Sprintf("%s/integration-test-syscalls", workDir),
"--include-cmd-stdout",
"--include-cmd-stderr",
"--name",
Expand Down

0 comments on commit 74dcd71

Please sign in to comment.