| ... | ... |
@@ -60,6 +60,19 @@ run [ "$(ls -d /var/run/sshd)" = "/var/run/sshd" ] |
| 60 | 60 |
nil, |
| 61 | 61 |
}, |
| 62 | 62 |
|
| 63 |
+ // Line containing literal "\n" |
|
| 64 |
+ {
|
|
| 65 |
+ ` |
|
| 66 |
+from {IMAGE}
|
|
| 67 |
+run sh -c 'echo root:testpass > /tmp/passwd' |
|
| 68 |
+run echo "foo \n bar"; echo "baz" |
|
| 69 |
+run mkdir -p /var/run/sshd |
|
| 70 |
+run [ "$(cat /tmp/passwd)" = "root:testpass" ] |
|
| 71 |
+run [ "$(ls -d /var/run/sshd)" = "/var/run/sshd" ] |
|
| 72 |
+`, |
|
| 73 |
+ nil, |
|
| 74 |
+ nil, |
|
| 75 |
+ }, |
|
| 63 | 76 |
{
|
| 64 | 77 |
` |
| 65 | 78 |
from {IMAGE}
|