Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Add sample with compound commands in STEPS
Browse files Browse the repository at this point in the history
  • Loading branch information
joergboe committed Oct 6, 2019
1 parent 442327c commit f903721
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions samples/CompondCommandsAsSteps/Case1/TestCase.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
STEPS=( \
'ps' \
'( echo "******"; ps )' \
'for (( x=0; x<5; x++)); do echo $x; done' \
)

#do not use parts of composite commands as a test step like
#STEPS='ps ( ps )'

FINS=( 'echo "******* test finailzation done *********"' )

0 comments on commit f903721

Please sign in to comment.