GoogleContainerTools / GoogleContainerTools/container-structure-test

Setup in command test fails to create dir or touch file

Open
#227 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.