]> rtime.felk.cvut.cz Git - omk.git/blob - tests/automatic_subdirs/automatic_subdirs
Convert functions.sh to make the old scripts runable with wvtest
[omk.git] / tests / automatic_subdirs / automatic_subdirs
1 #!/bin/sh\r
2 \r
3 . ../functions.sh\r
4 \r
5 touch config.omk-default\r
6 \r
7 OUTPUT=$(make 2>&1) || canttest\r
8 echo $OUTPUT | grep make-in-dir1 || error "Make was not called in dir1" \r
9 echo $OUTPUT | grep make-in-dir2 || error "Make was not called in dir2"\r
10 echo $OUTPUT | grep make-in-dir3 && error "Make shouldn't be called in dir3" \r
11 \r
12 exit 0\r