]> rtime.felk.cvut.cz Git - omk/sssa.git/blobdiff - tests/programs/runtest-cflags-cmdline
Fixed test functions to work under dash shell
[omk/sssa.git] / tests / programs / runtest-cflags-cmdline
index a4eb15cb979c8eb2c1b44e7191cb6cb7d9b0230e..cefe77c6418a541129aeeca345920f3df1621b60 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 
-source ../functions.sh
+. ../functions.sh
 
 touch config.omk-default
-make CFLAGS="-DNONSENSE=abc -DNUMBER=123"||canttest "Can't compile"
+make CFLAGS="-DNONSENSE=abc -DNUMBER=123"||error "Can't compile"
 [ $OMK_RULES != linux ] && canttest "Should work only with Linux rules"
 _compiled/bin/test|grep 123 || error "Custom CFLAGS didn't influence the output"