# file : tests/test/script/runner/if.testscript # copyright : Copyright (c) 2014-2019 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file .include ../common.testscript : if-branch : $c <'if' if cat <'foo' >'foo' echo 'if' >| else echo 'else' >| end EOI : else-branch : $c <'else' if cat <'foo' >'bar' echo 'if' >| else echo 'else' >| end EOI