From d4bb307068792eb988f997539f645aea28749878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Ho=CC=88chst?= Date: Tue, 2 Nov 2021 15:03:07 +0100 Subject: [PATCH] added multiline bash test --- examples/RPi-OpenWRT.Pifile | 6 ++++++ examples/RPi-RaspberryPiOSLite.Pifile | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/examples/RPi-OpenWRT.Pifile b/examples/RPi-OpenWRT.Pifile index 889cf8e..e801d36 100644 --- a/examples/RPi-OpenWRT.Pifile +++ b/examples/RPi-OpenWRT.Pifile @@ -26,3 +26,9 @@ RUN head -n1 "README.md" # test an INCLUDE - both with and without the .Pifile extension INCLUDE examples/Module-Hello.Pifile INCLUDE examples/Module-Hello + +# test a multiline command +RUN sh -c " + echo hello + echo world +" diff --git a/examples/RPi-RaspberryPiOSLite.Pifile b/examples/RPi-RaspberryPiOSLite.Pifile index d34d9dc..10ea469 100644 --- a/examples/RPi-RaspberryPiOSLite.Pifile +++ b/examples/RPi-RaspberryPiOSLite.Pifile @@ -6,3 +6,9 @@ RUN apt-get update RUN apt-get install -y cowsay RUN /usr/games/cowsay "huhu pimod~" + +# test a multiline command +RUN bash -c " + echo hello + echo world +"