Test dockerfile with line containing literal "\n"
This commit is contained in:
parent
4f3b8033f2
commit
c01f6df43e
|
@ -60,6 +60,19 @@ run [ "$(ls -d /var/run/sshd)" = "/var/run/sshd" ]
|
||||||
nil,
|
nil,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Line containing literal "\n"
|
||||||
|
{
|
||||||
|
`
|
||||||
|
from {IMAGE}
|
||||||
|
run sh -c 'echo root:testpass > /tmp/passwd'
|
||||||
|
run echo "foo \n bar"; echo "baz"
|
||||||
|
run mkdir -p /var/run/sshd
|
||||||
|
run [ "$(cat /tmp/passwd)" = "root:testpass" ]
|
||||||
|
run [ "$(ls -d /var/run/sshd)" = "/var/run/sshd" ]
|
||||||
|
`,
|
||||||
|
nil,
|
||||||
|
nil,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
`
|
`
|
||||||
from {IMAGE}
|
from {IMAGE}
|
||||||
|
|
Loading…
Reference in New Issue