changed: no need to manually specify test data in update script

rather specify it as properties on the tests themself and extract
using some awk-ing.
This commit is contained in:
Arne Morten Kvarving committed 2023-06-08 10:33:36 +02:00
1 parent bbd65d8968
commit 4a3a47c764
3 files changed
+44 -218

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
$1 ~ search {
for (i = 3; i <= NF; ++i) {
if ($i == prop) {
val = $(i + 1)
gsub(/"/, "", val)
print val
exit
}
}
}