Skip to content

Commit

Permalink
added multiline bash test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashoechst committed Nov 2, 2021
1 parent 26b18c2 commit d4bb307
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/RPi-OpenWRT.Pifile
Original file line number Diff line number Diff line change
Expand Up @@ -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
"
6 changes: 6 additions & 0 deletions examples/RPi-RaspberryPiOSLite.Pifile
Original file line number Diff line number Diff line change
Expand Up @@ -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
"

0 comments on commit d4bb307

Please sign in to comment.