In ECF_HOME, create a directory test:
> mkdir test
In test, create a file name t1.ecf with the following contents:
%include "../head.h" echo "I am part of a suite that lives in %ECF_HOME%" %include "../tail.h"
In our case:
%include ”../head.h” will be substituted by the content of the file head.h.
Note that the file name is given relatively to the file t1.ecf,i.e. in the directory above the one containing t1.ecf%ECF_HOME% will be substituted by the value of the variable ECF_HOME
%include ”../tail.h” will be substituted by the content of the file tail.h
What to do:
- Type in the ecf script t1.ecf