GoogleContainerTools / GoogleContainerTools/container-structure-test
Setup in command test fails to create dir or touch file
Open
help wanted
question
- Dominant language
- Go
- Stars
- 2.5k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
I tried setup to create an file which is required to be present or mapped from outside while running the docker image. I tired touch and mkdir but the file is not created. Can you please help me.
```
- name: "cli command with Config map"
setup: [[ "mkdir", "/data/vishal" ]]
command: "ls"
args: ["-a"]
expectedError: [""]
expectedOutput: ["vishal"]
```
```
--- FAIL
stdout: .
..
Error: Expected string 'vishal' not found in output '.
..
'
```
Contributor guide
Assessment
This issue has not been assessed yet.