@@ -31,7 +31,7 @@ load helpers
31
31
tmpFile=$( mktemp)
32
32
echo " Temporary file: ${tmpFile} "
33
33
34
- run podman run --net=host --annotation io.containers.trace-syscall=of:${tmpFile} ${ALPINE} ls
34
+ run podman run --net=host $HOOKS_DIR_OPT --annotation io.containers.trace-syscall=of:${tmpFile} ${ALPINE} ls
35
35
echo " Podman output: ${lines[*]} "
36
36
[ " $status " -eq 0 ]
37
37
# sleep two seconds to let the hook finish writing the file
@@ -49,7 +49,7 @@ load helpers
49
49
tmpFile=$( mktemp)
50
50
echo " Temporary file: ${tmpFile} "
51
51
52
- run podman run --net=host --annotation io.containers.trace-syscall=of:${tmpFile} ${ALPINE} ls
52
+ run podman run --net=host $HOOKS_DIR_OPT --annotation io.containers.trace-syscall=of:${tmpFile} ${ALPINE} ls
53
53
echo " Podman output: ${lines[*]} "
54
54
[ " $status " -eq 0 ]
55
55
# sleep two seconds to let the hook finish writing the file
@@ -71,7 +71,7 @@ load helpers
71
71
tmpFile=$( mktemp)
72
72
echo " Temporary file: ${tmpFile} "
73
73
74
- run podman run --net=host --annotation io.containers.trace-syscall=of:${tmpFile} ${ALPINE} ls
74
+ run podman run --net=host $HOOKS_DIR_OPT --annotation io.containers.trace-syscall=of:${tmpFile} ${ALPINE} ls
75
75
echo " Podman output: ${lines[*]} "
76
76
[ " $status " -eq 0 ]
77
77
# sleep two seconds to let the hook finish writing the file
@@ -100,7 +100,7 @@ load helpers
100
100
echo " Temporary file 1: ${tmpFile1} "
101
101
echo " Temporary file 2: ${tmpFile2} "
102
102
103
- run podman run --net=host --annotation io.containers.trace-syscall=of:${tmpFile1} ${ALPINE} ls /
103
+ run podman run --net=host $HOOKS_DIR_OPT --annotation io.containers.trace-syscall=of:${tmpFile1} ${ALPINE} ls /
104
104
[ " $status " -eq 0 ]
105
105
# sleep two seconds to let the hook finish writing the file
106
106
sleep 2
@@ -113,7 +113,7 @@ load helpers
113
113
echo " Podman output: ${lines[*]} "
114
114
[ " $status " -ne 0 ]
115
115
116
- run podman run --net=host --annotation io.containers.trace-syscall=" if:${tmpFile1} ;of:${tmpFile2} " ${ALPINE} ping -c3 $PINGABLE_HOST
116
+ run podman run --net=host $HOOKS_DIR_OPT --annotation io.containers.trace-syscall=" if:${tmpFile1} ;of:${tmpFile2} " ${ALPINE} ping -c3 $PINGABLE_HOST
117
117
echo " Podman output: ${lines[*]} "
118
118
[ " $status " -eq 0 ]
119
119
sleep 2 # sleep two seconds to let the hook finish writing the file
@@ -138,7 +138,7 @@ load helpers
138
138
tmpFile=$( mktemp)
139
139
echo " Temporary file : ${tmpFile} "
140
140
141
- run podman run --net=host --annotation io.containers.trace-syscall=of:${tmpFile} ${ALPINE} mkdir /foo
141
+ run podman run --net=host $HOOKS_DIR_OPT --annotation io.containers.trace-syscall=of:${tmpFile} ${ALPINE} mkdir /foo
142
142
echo " Podman output: ${lines[*]} "
143
143
[ " $status " -eq 0 ]
144
144
# sleep two seconds to let the hook finish writing the file
@@ -152,7 +152,7 @@ load helpers
152
152
echo " Podman output: ${lines[*]} "
153
153
[ " $status " -eq 0 ]
154
154
155
- run podman run --net=host --annotation io.containers.trace-syscall=" if:${BLOCK_MKDIR} ;of:${tmpFile} " ${ALPINE} mkdir /foo
155
+ run podman run --net=host $HOOKS_DIR_OPT --annotation io.containers.trace-syscall=" if:${BLOCK_MKDIR} ;of:${tmpFile} " ${ALPINE} mkdir /foo
156
156
echo " Podman output: ${lines[*]} "
157
157
[ " $status " -eq 0 ]
158
158
# sleep two seconds to let the hook finish writing the file
0 commit comments