f545d156561c08020a67f9640c51454c2df4fb57fabien# mod_macro non regression tests
f545d156561c08020a67f9640c51454c2df4fb57fabien# where is apache
f545d156561c08020a67f9640c51454c2df4fb57fabien# apache executable with mod macro loaded
f545d156561c08020a67f9640c51454c2df4fb57fabien -C 'LoadModule macro_module modules/mod_macro.so' \
f545d156561c08020a67f9640c51454c2df4fb57fabien -C "Define PWD $$PWD/conf"
f545d156561c08020a67f9640c51454c2df4fb57fabien# default target
f545d156561c08020a67f9640c51454c2df4fb57fabien# run all non regression tests
f545d156561c08020a67f9640c51454c2df4fb57fabien# result directory
f545d156561c08020a67f9640c51454c2df4fb57fabien# test cases & results
f545d156561c08020a67f9640c51454c2df4fb57fabien# run all tests
f545d156561c08020a67f9640c51454c2df4fb57fabien# generate & compare in a separate directory
f545d156561c08020a67f9640c51454c2df4fb57fabien# generate & compare in the same directory
f545d156561c08020a67f9640c51454c2df4fb57fabien# run one test case
f545d156561c08020a67f9640c51454c2df4fb57fabien# filter output so that it is portable
f545d156561c08020a67f9640c51454c2df4fb57fabien# use '|' sed separator because $PWD will contain plenty '/'
f545d156561c08020a67f9640c51454c2df4fb57fabien -e "s|^\[[\.a-zA-Z0-9 :]*\] ||" \
f545d156561c08020a67f9640c51454c2df4fb57fabien -e "s|\[pid [0-9]*:tid [0-9]*] ||" \
f545d156561c08020a67f9640c51454c2df4fb57fabien $@.tmp > $@ ; \