]> rtime.felk.cvut.cz Git - omk/sssa.git/blobdiff - tests/whole_tree/runtest
Fixed test functions to work under dash shell
[omk/sssa.git] / tests / whole_tree / runtest
index 7fd21c6fd36e8f5b5a0d7be59767a38ef31e93f2..3c02c426b6891bef21682f3262438fe691817491 100755 (executable)
@@ -1,8 +1,10 @@
 #!/bin/sh
 
-. $OMK_TESTSROOT/functions.sh
+. ../functions.sh
 
-touch config.omk-default
-make -C subdir W=1 || canttest
+rm -f *.mark
+
+make -C subdir W=1
 
 [ -f 'toplevel.mark' ] || error "Toplevel make was not called".
+[ `wc -l < subdir.mark` -eq 1 ] || error "OMK_SERIALIZE does not work"