aat

git mirror of https://ccx.te2000.cz/bzr/aat
git clone https://ccx.te2000.cz/git/aat
Log | Files | Refs | README

commit 5afb110f404b10d351baa944e70b889da59eb21b
parent 5b5555e36fea35cf66b904ef2702b86006ff6c31
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Tue, 15 Sep 2015 17:53:38 +0200

add test
Diffstat:
Mquery.test | 26++++++++++++++++++++++++++
1 file changed, 26 insertions(+), 0 deletions(-)

diff --git a/query.test b/query.test @@ -463,3 +463,29 @@ END { } >>>2 >>>= 0 + +./querytest tests/query20 +<<< +# start @awk /home/ccx/.local/bzr/aat/data.awk {{{ +#!/bin/awk -f +BEGIN { +} +# }}} end @awk /home/ccx/.local/bzr/aat/data.awk +# START: bar/inherit/example/data.aat +END{ +printf "%s", "hostname=" (<hostname:"localhost">) "\n" +} +# END: bar/inherit/example/data.aat +>>> +# start @awk /home/ccx/.local/bzr/aat/data.awk {{{ +#!/bin/awk -f +BEGIN { +} +# }}} end @awk /home/ccx/.local/bzr/aat/data.awk +# START: bar/inherit/example/data.aat +END{ +printf "%s", "hostname=" ((find("hostname")?found:"localhost")) "\n" +} +# END: bar/inherit/example/data.aat +>>>2 +>>>= 0