| ... | ... |
@@ -45,6 +45,21 @@ run [ "$(ls -d /var/run/sshd)" = "/var/run/sshd" ] |
| 45 | 45 |
nil, |
| 46 | 46 |
}, |
| 47 | 47 |
|
| 48 |
+ // Exactly the same as above, except uses a line split with a \ to test |
|
| 49 |
+ // multiline support. |
|
| 50 |
+ {
|
|
| 51 |
+ ` |
|
| 52 |
+from {IMAGE}
|
|
| 53 |
+run sh -c 'echo root:testpass \ |
|
| 54 |
+ > /tmp/passwd' |
|
| 55 |
+run mkdir -p /var/run/sshd |
|
| 56 |
+run [ "$(cat /tmp/passwd)" = "root:testpass" ] |
|
| 57 |
+run [ "$(ls -d /var/run/sshd)" = "/var/run/sshd" ] |
|
| 58 |
+`, |
|
| 59 |
+ nil, |
|
| 60 |
+ nil, |
|
| 61 |
+ }, |
|
| 62 |
+ |
|
| 48 | 63 |
{
|
| 49 | 64 |
` |
| 50 | 65 |
from {IMAGE}
|