Commit 77316bf5 authored by 35V LG84's avatar 35V LG84

tests: use same test id syntax for exec-files

Use same test id syntax for exec-files as
is used for scalatest-based tests.
Signed-off-by: 35V LG84's avatar35V LG84 <35vlg84-x4e6b92@e257.fi>
parent 86288ae6
Pipeline #61556171 passed with stage
in 8 minutes and 43 seconds
# format: exec
# test:uuid: e094ee52-1742-4da1-bc54-15662c293a69
# test: e094ee52-1742-4da1-bc54-15662c293a69
exec:--cfg;tests/accumulator/ok.conf;--input.file;bal-01.txn;--output;out.bal-01;
# format: exec
# test:uuid: fb5c09d2-dfbf-41b7-9412-81bcf37f0c76
# test: fb5c09d2-dfbf-41b7-9412-81bcf37f0c76
exec:--cfg;tests/accumulator/ok.conf;--input.file;bal-02.txn;--output;out.bal-02;
# format: exec
# test:uuid: 9220c02f-1b2a-4f7b-9ae5-8dc16bf1f071
# test: 9220c02f-1b2a-4f7b-9ae5-8dc16bf1f071
exec:--cfg;tests/accumulator/ok.conf;--input.file;bal-gap-01.txn;--output;out.bal-gap-01;
# format: exec
# test:uuid: cb7e3f4c-a709-4f0e-9f22-336755dfe6b2
# test: cb7e3f4c-a709-4f0e-9f22-336755dfe6b2
exec:--cfg;tests/accumulator/ok.conf;--input.file;bal-gap-02.txn;--output;out.bal-gap-02;
# format: exec
# test:uuid: 9e00e09f-8ac4-4fd7-b3c1-e383d711d48c
# test: 9e00e09f-8ac4-4fd7-b3c1-e383d711d48c
exec:--cfg;tests/accumulator/ok.conf;--input.file;bal-gap-03.txn;--output;out.bal-gap-03;
# format: exec
# test:uuid: 76da1ba6-b17d-4260-bc2d-7d1dcca54d50
# test: 76da1ba6-b17d-4260-bc2d-7d1dcca54d50
exec:--cfg;tests/accumulator/ok.conf;--input.file;eq-uuid.txn;--output;out.eq-uuid-01-step-1;--reporting.accounts;^a.*;
# feed back previous equity report
exec:--cfg;tests/accumulator/ok.conf;--input.file;out.eq-uuid-01-step-1.equity.txn;--output;out.eq-uuid-01;--reporting.exports;equity;identity;--reporting.reports;balance;balance-group;register;
# format: exec
# test:uuid: f46b00a3-b4dc-44e0-a8ae-b8039e2a33a7
# test: f46b00a3-b4dc-44e0-a8ae-b8039e2a33a7
exec:--cfg;tests/accumulator/ok.conf;--input.file;eq-uuid.txn;--output;out.eq-uuid-02;--reporting.accounts;^a.*;
# format: exec
# test:uuid: 2abde44e-929a-467b-9f57-87c8945451c7
# test: 2abde44e-929a-467b-9f57-87c8945451c7
exec:--cfg;tests/accumulator/ok.conf;--input.file;eq-zeros.txn;--output;out.eq-zeros;
# format: exec
# test:uuid: 24f154c7-9681-497b-a28c-c90cfb0533a5
# test: 24f154c7-9681-497b-a28c-c90cfb0533a5
# desc: missing UUID with txn-set-checksum
exec:--cfg;tests/audit/audit.conf;--input.git.ref;errs-1E2;--input.git.dir;txns/2016/04;
# format: exec
# test:uuid: 78f82210-7e9b-4741-9a0f-cc69636c70c4
# test: 78f82210-7e9b-4741-9a0f-cc69636c70c4
# desc: duplicate uuids with txn-set-checksum
exec:--cfg;tests/audit/audit.conf;--input.git.ref;errs-1E2;--input.git.dir;txns/2016/05;
# format: exec
# test:uuid: 93651962-6b61-4fd6-941a-339abd87ec73
# test: 93651962-6b61-4fd6-941a-339abd87ec73
# desc: each report has different account selector
exec:--cfg;tests/audit/acc-selectors.conf;--output;out.audit-1E1-01;
# format: exec
# test:uuid: f8c0fe2b-f189-4338-b75e-3c8e68a8c7e2
# test: f8c0fe2b-f189-4338-b75e-3c8e68a8c7e2
# desc: use audit settings with FS input storage
# desc: each report has different account selector
exec:--cfg;tests/audit/fs-audit.conf;--output;out.audit-1E1-02;
# format: exec
# test:uuid: 4e8e1d79-bbb5-4e6f-9072-d7e3c5b8c7ea
# test: 4e8e1d79-bbb5-4e6f-9072-d7e3c5b8c7ea
# desc: metadata: subset by dir, no filters, all-pass account selector
exec:--cfg;tests/audit/audit.conf;--reporting.console;off;--input.git.ref;txns-1E2;--output;out.audit-1E2-01;--input.git.dir;txns/2016/01/11;
# format: exec
# test:uuid: 2250f5f5-7eb4-456b-a693-3ea63c219584
# test: 2250f5f5-7eb4-456b-a693-3ea63c219584
# desc: metadata: subset by dir, no filters, regex account selector
exec:--cfg;tests/audit/audit.conf;--reporting.console;off;--input.git.ref;txns-1E2;--output;out.audit-1E2-02;--input.git.dir;txns/2016/01/11;--reporting.accounts;.*;
# format: exec
# test:uuid: b2ea4102-40a2-46e5-aca3-398cf4849058
# test: b2ea4102-40a2-46e5-aca3-398cf4849058
# desc: metadata: subset by filter (TxnData -> TxnData), all-pass account selector
exec:--cfg;tests/audit/audit.conf;--reporting.console;off;--input.git.ref;txns-1E2;--output;out.audit-1E2-03;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "1E2 txn-(1|17|100)" }}};
# format: exec
# test:uuid: 41a9479b-1907-44bb-88bc-48c3cbe8c00f
# test: 41a9479b-1907-44bb-88bc-48c3cbe8c00f
# desc: metadata: subset by filter, regex account selector
exec:--cfg;tests/audit/audit.conf;--reporting.console;off;--input.git.ref;txns-1E2;--output;out.audit-1E2-04;--reporting.accounts;.*;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "1E2 txn-(1|17|100)" }}};
# format: exec
# test:uuid: 7a887956-a350-4663-9638-715bfa3c9040
# test: 7a887956-a350-4663-9638-715bfa3c9040
# desc: metadata: subset by filter, non-matching regex account selector e.g. empty reports
exec:--cfg;tests/audit/audit.conf;--reporting.console;off;--input.git.ref;txns-1E2;--output;out.audit-1E2-05;--reporting.accounts;none-matching;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "1E2 txn-(1|17|100)" }}};
# format: exec
# test:uuid: 224709cb-c96c-47f5-83e1-6e94c333e5c6
# test: 224709cb-c96c-47f5-83e1-6e94c333e5c6
# desc: check validity equity with metadata
exec:--cfg;tests/audit/audit.conf;--reporting.console;off;--input.git.ref;txns-1E2;--output;out.audit-1E2-06-step1;--reporting.accounts;.*;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "1E2 txn-(1|17|100)" }}};--reporting.reports;balance;--reporting.exports;equity;
exec:--cfg;tests/audit/fs-non-audit.conf;--reporting.console;off;--output;out.audit-1E2-06-step2;--input.file;out.audit-1E2-06-step1.equity.txn;
# format: exec
# test:uuid: 20ce2b43-e433-4edb-894a-48e955cdcd01
# test: 20ce2b43-e433-4edb-894a-48e955cdcd01
# desc: SHA-384: metadata: subset by filter, regex account selector
exec:--cfg;tests/audit/audit-sha384.conf;--reporting.console;off;--input.git.ref;txns-1E2;--output;out.audit-1E2-07;--reporting.accounts;.*;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "1E2 txn-(1|17|100)" }}};
......@@ -9,6 +9,7 @@
# - Check T3DB YAML validity:
# - Check T3DB for duplicate test ids:
# - Check T3DB for non-exist refids:
# - Check T3DB for non-exist parents:
# - Cross check T3DB and tests ids:
# - Check JSON validity:
#
......@@ -33,30 +34,49 @@ t3db_10="$db_dir/tests-1010.yml"
T3DBs="$t3db_00 $t3db_01 $t3db_02 $t3db_04 $t3db_05 $t3db_06 $t3db_07 $t3db_08 $t3db_09 $t3db_10"
get_t3db_content () {
rgx_test=' +test: +[[:xdigit:]]+-[[:xdigit:]]+-[[:xdigit:]]+-[[:xdigit:]]+-[[:xdigit:]]+ *$'
get_t3db_content () {
egrep -hv '^[[:space:]]*#' $T3DBs
}
get_t3db_feature_ids () {
get_t3db_content | egrep -A1 ' feature:' | egrep '[[:space:]]+id:' | sed -E 's/[[:space:]]+id: +//'
}
get_t3db_test_ids () {
get_t3db_content | egrep -A1 ' (error|test):' | egrep '[[:space:]]+id:' | sed -E 's/[[:space:]]+id: +//'
}
get_test_ids () {
(
# exec-based tests
find "$exe_dir" -name '*.exec' |\
xargs egrep -h '^#'"$rgx_test"
# unit and integration tests
find "$exe_dir/../api/src/" "$exe_dir/../core/src/" "$exe_dir/../cli/src/" -name '*.scala' |\
xargs egrep -h '\*'"$rgx_test"
)|\
sed -E 's/ +\* +test: +//' |\
sed -E 's/^# +test: +//'
}
# exec-based tests
find "$exe_dir" -name '*.exec' |\
xargs grep 'test:uuid:' |\
sed -E 's/.*test:uuid: +//'
t3db_feature_id_lst=$(mktemp /tmp/t3db_feature_lst.XXXXXX)
trap "rm -f $t3db_feature_id_lst" 0
# unit and integration tests
find "$exe_dir/../api/src/" "$exe_dir/../core/src/" "$exe_dir/../cli/src/" -name '*.scala' |\
xargs egrep -h '\* +test: +[[:xdigit:]]+-[[:xdigit:]]+-[[:xdigit:]]+-[[:xdigit:]]+-[[:xdigit:]]+ *' |\
sed -E 's/ +\* +test: +//'
}
t3db_id_lst=$(mktemp /tmp/t3db_id_lst.XXXXXX)
trap "rm -f $t3db_id_lst" 0
test_id_lst=$(mktemp /tmp/test_id_lst.XXXXXX)
trap "rm -f $test_id_lst" 0
get_t3db_feature_ids | sort > $t3db_feature_id_lst
get_t3db_test_ids | sort > $t3db_id_lst
get_test_ids | sort > $test_id_lst
echo "Check tests for missing ids (exec-files):"
$exe_dir/find-missing.sh
find "$exe_dir" -name '*.exec' | xargs egrep '#'"$rgx_test" -L
# this is already checked by diff, but print dups again here
echo "Check tests for duplicate ids (scalatest + exec-files):"
......@@ -70,25 +90,22 @@ do
done
echo "Check T3DB for duplicate test ids:"
get_t3db_test_ids | sort | uniq -d
cat $t3db_id_lst | uniq -d
echo "Check T3DB for non-exist refids:"
get_t3db_content | grep ' refid:' | sed 's/.*refid: //' | while read refid;
do
egrep -q -L '.* id: +'$refid' *$' $T3DBs || echo $refid
do
egrep -q -L "$refid" $t3db_id_lst || echo $refid
done
echo "Check T3DB for non-exist parents:"
get_t3db_content | grep ' parent:' | sed 's/.*parent: //' | while read parent;
do
egrep -q -L "$parent" $t3db_feature_id_lst || echo $parent
done
echo "Cross check T3DB and tests ids:"
t3db_id_lst=$(mktemp /tmp/t3db_id_lst.XXXXXX)
trap "rm -f $t3db_id_lst" 0
test_id_lst=$(mktemp /tmp/test_id_lst.XXXXXX)
trap "rm -f $test_id_lst" 0
get_t3db_test_ids | sort > $t3db_id_lst
get_test_ids | sort > $test_id_lst
diff -u $t3db_id_lst $test_id_lst | grep -v -- '---' | grep '^-' |\
while read raw_uuid; do
uuid=$(echo $raw_uuid | sed 's/^-//')
......
# format: exec
# test:uuid: a11c536e-ce20-4e2b-8abf-cd8a47cdaf07
# test: a11c536e-ce20-4e2b-8abf-cd8a47cdaf07
exec:--cfg;tests/cli/ex.conf;--input.file;unknown-acc-01.txn;
# format: exec
# test:uuid: c096f7a8-a87c-4b3c-ad37-b860775597a0
# test: c096f7a8-a87c-4b3c-ad37-b860775597a0
# desc: existing, but empty configuration
exec:--cfg;tests/cli/ex/empty.conf;
# format: exec
# test:uuid: 7a20d61f-c1ab-4aaa-993c-73cc39978c6f
# test: 7a20d61f-c1ab-4aaa-993c-73cc39978c6f
# extra args
exec:--basedir;/tmp;--input.file;f.txn;extra;
# format: exec
# test:uuid: f04577b6-49b2-460f-92f6-7886a4b49152
# test: f04577b6-49b2-460f-92f6-7886a4b49152
exec:--cfg;tests/cli/ex.conf;--accounts.strict;false;--input.file;ok.txn;--output;no/such/path/out;
# format: exec
# test:uuid: 97c7193f-281f-4103-b5e2-7397433ba79c
# test: 97c7193f-281f-4103-b5e2-7397433ba79c
exec:--cfg;tests/cli/ex.conf;--input.fs.dir=txns-not-found;--input.fs.glob;txn*.txn;
# format: exec
# test:uuid: 66bc6ec3-991f-41b6-a347-b3f492bc6f65
# test: 66bc6ec3-991f-41b6-a347-b3f492bc6f65
# desc: invalid regex
exec:--cfg;tests/cli/ex.conf;--input.file;../ok/filters.txn;--accounts.strict;false;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "*" } } };
# format: exec
# test:uuid: 90d57e1a-eda6-4856-b757-bfc678ac2a82
# test: 90d57e1a-eda6-4856-b757-bfc678ac2a82
exec:--cfg;tests/cli/ex.conf;--input.fs.dir=empty-txns;--input.fs.glob;txn*.txn;
# format: exec
# test:uuid: 39fed28a-1157-4cda-98de-cfe8fa1ce5b5
# test: 39fed28a-1157-4cda-98de-cfe8fa1ce5b5
# desc: filter all transactions out of stream. Result should be an exception (empty txns)
exec:--cfg;tests/cli/ex.conf;--input.file;../ok/filters.txn;--accounts.strict;false;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "this-wont-be-matched" }}};
# format: exec
# test:uuid: 5a80bd1d-118c-4f3c-b89b-142059bcb3be
# test: 5a80bd1d-118c-4f3c-b89b-142059bcb3be
# desc: invalid json at parse level
exec:--cfg;tests/cli/ex.conf;--input.file;../ok/filters.txn;--accounts.strict;false;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "this-wont-be-matched" }};
# format: exec
# test:uuid: d2e7dd30-8ead-43b2-8986-4cb416167a28
# test: d2e7dd30-8ead-43b2-8986-4cb416167a28
# desc: invalid json, can not be decoded correctly
exec:--cfg;tests/cli/ex.conf;--input.file;../ok/filters.txn;--accounts.strict;false;--api-filter-def;{ "txnFilter": { "TxnFilterWhicWontBeThere": { "regex": "a.*" }}};
# format: exec
# test:uuid: 178a3269-76e9-4bb4-abcd-62806817573e
# test: 178a3269-76e9-4bb4-abcd-62806817573e
exec:--cfg;tests/cli/ex.conf;--accounts.strict;false;--input.file;unbalanced.txn;
# format: exec
# test:uuid: 47485d81-ef64-4a6a-9cd6-5f1e15ac130b
# test: 47485d81-ef64-4a6a-9cd6-5f1e15ac130b
# unknown option
exec:--basedir;/tmp;--input.file;f.txn;--extra;
# format: exec
# test:uuid: f2284891-82da-4efd-a705-9e8f612c88af
# test: f2284891-82da-4efd-a705-9e8f612c88af
#
# CLI args Errors (wrong combinations)
#
......
# format: exec
# test:uuid: 940ed68b-7f1c-41fe-bab9-aefd8cf60b3a
# test: 940ed68b-7f1c-41fe-bab9-aefd8cf60b3a
exec:--cfg;tests/cli/ok.conf;--input.fs.dir;console-txns;--input.fs.glob;**.txn;--output;out.console-01;--accounts.strict;false;
# format: exec
# test:uuid: e01a2d45-9977-4089-8a54-e29368b2d5cf
# test: e01a2d45-9977-4089-8a54-e29368b2d5cf
# Console off
exec:--cfg;tests/cli/ok-console-off.conf;--input.fs.dir;console-txns;--input.fs.glob;**.txn;--output;out.console-02;--accounts.strict;false;
# format: exec
# test:uuid: fd250432-9b13-4cdd-83a1-1aedff1593ed
# test: fd250432-9b13-4cdd-83a1-1aedff1593ed
# Console off, over-ride cli
exec:--cfg;tests/cli/ok-console-off.conf;--input.fs.dir;console-txns;--input.fs.glob;**.txn;--reporting.formats;txt;json;--output;out.console-03;--accounts.strict;false;--reporting.console;true;
# format: exec
# test:uuid: a9a8c149-a584-45e5-b4f1-0f901cfd1831
# test: a9a8c149-a584-45e5-b4f1-0f901cfd1831
# No output at all (no files, no console)
exec:--cfg;tests/cli/ok.conf;--input.fs.dir;console-txns;--input.fs.glob;**.txn;--accounts.strict;false;--reporting.console;false;
# format: exec
# test:uuid: 515ba0be-b571-4a7f-a2a3-28dc1e545228
# test: 515ba0be-b571-4a7f-a2a3-28dc1e545228
exec:--cfg;tests/cli/ok.conf;--input.file;filters.txn;--output;out.filters-01;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "ab.*" }}};
# format: exec
# test:uuid: 8bbe1d2a-8548-49cf-9d8b-942242b882bd
# test: 8bbe1d2a-8548-49cf-9d8b-942242b882bd
# Test filter definition via base64 string. This is same as filter-01
exec:--cfg;tests/cli/ok.conf;--input.file;filters.txn;--output;out.filters-02;--api-filter-def;base64:eyAidHhuRmlsdGVyIjogeyAiVHhuRmlsdGVyVHhuRGVzY3JpcHRpb24iOiB7ICJyZWdleCI6ICJhYi4qIiB9fX0K;
# format: exec
# test:uuid: cd54250a-8af2-4daa-9d8e-7870b5987da9
# test: cd54250a-8af2-4daa-9d8e-7870b5987da9
exec:--cfg;tests/cli/ex.conf;--basedir;ok;--input.file;../ex/unknown-acc-01.txn;--output;out.unknown-acc-01;--accounts.strict;false;
# format: exec
# test:uuid: 561ca500-ec5b-41b5-8466-eb82362a06ea
# test: 561ca500-ec5b-41b5-8466-eb82362a06ea
exec:--cfg;tests/commodity/ex-empty.conf;--input.file;empty-postcomm.txn;
# format: exec
# test:uuid: 0c1a7d18-90eb-4f2b-b8b6-9bc36cd5ff73
# test: 0c1a7d18-90eb-4f2b-b8b6-9bc36cd5ff73
exec:--cfg;tests/commodity/ex.conf;--input.file;mixed-comm.txn;
# format: exec
# test:uuid: edf1c7b6-fac6-4b58-8b5b-6c37b59609f5
# test: edf1c7b6-fac6-4b58-8b5b-6c37b59609f5
exec:--cfg;tests/commodity/ex.conf;--input.file;mixed-valpos-01.txn;
# format: exec
# test:uuid: 8994ca76-615f-4977-bb48-299f85b2b861
# test: 8994ca76-615f-4977-bb48-299f85b2b861
exec:--cfg;tests/commodity/ex.conf;--input.file;mixed-valpos-02.txn;
# format: exec
# test:uuid: 429c3406-2b73-4b8b-8b62-bd27cd2bb351
# test: 429c3406-2b73-4b8b-8b62-bd27cd2bb351
exec:--cfg;tests/commodity/ex.conf;--input.file;unknown-postcomm.txn;
# format: exec
# test:uuid: 40592a4d-54b4-4270-807f-8bd31b122a08
# test: 40592a4d-54b4-4270-807f-8bd31b122a08
exec:--cfg;tests/commodity/ex.conf;--input.file;unknown-txncomm.txn;
# format: exec
# test:uuid: a5318e06-309e-4c52-996b-b07aefac4c46
# test: a5318e06-309e-4c52-996b-b07aefac4c46
exec:--cfg;tests/commodity/ok.conf;--input.file;basic-01.txn;--output;out.basic-01;
# format: exec
# test:uuid: 04af8049-355d-4c6c-ac63-c153b0141c48
# test: 04af8049-355d-4c6c-ac63-c153b0141c48
exec:--cfg;tests/commodity/ok.conf;--input.file;basic-02.txn;--output;out.basic-02;
# format: exec
# test:uuid: 7616a6e8-8492-4fe7-9921-ae00f86af2cd
# test: 7616a6e8-8492-4fe7-9921-ae00f86af2cd
exec:--cfg;tests/commodity/ok.conf;--input.file;basic-03.txn;--output;out.basic-03-01-step1;
#
exec:--cfg;tests/commodity/ok.conf;--input.file;out.basic-03-01-step1.identity.txn;--output;out.basic-03-01;
# format: exec
# test:uuid: c7d115a7-664c-479d-8bf4-c1a85a06d5ba
# test: c7d115a7-664c-479d-8bf4-c1a85a06d5ba
# desc: This is also testing equite else-branch when there is no uuid with last txn
exec:--cfg;tests/commodity/ok.conf;--input.file;basic-03.txn;--output;out.basic-03-02-step1;
#
......
# format: exec
# test:uuid: 8a7a8c60-aab9-4700-b081-9804c1ec537f
# test: 8a7a8c60-aab9-4700-b081-9804c1ec537f
exec:--cfg;tests/commodity/ok.conf;--reporting.formats;txt;json;--input.file;basic-03.txn;--output;out.basic-03;
# format: exec
# test:uuid: c5493e99-d0f3-49b3-8450-3ae6ef970b10
# test: c5493e99-d0f3-49b3-8450-3ae6ef970b10
#
# Test correct behaviour with AccountTree and commodities
exec:--cfg;tests/commodity/ok.conf;--reporting.formats;txt;json;--input.file;basic-04.txn;--output;out.basic-04;
# format: exec
# test:uuid: aeffbcc2-bcc4-40f3-9b37-03dbca3bff88
# test: aeffbcc2-bcc4-40f3-9b37-03dbca3bff88
#
# Test correct behaviour with AccountTree and commodities, take 2
exec:--cfg;tests/commodity/ok.conf;--input.file;basic-05.txn;--output;out.basic-05;
# format: exec
# test:uuid: 0dae7dfd-c816-4a77-afff-a372e1802026
# test: 0dae7dfd-c816-4a77-afff-a372e1802026
# commodity name match root account
exec:--cfg;tests/commodity/ok.conf;--reporting.formats;txt;json;--input.file;basic-06.txn;--output;out.basic-06;
# format: exec
# test:uuid: 1df0fb31-6604-4679-9ec4-7a1d65e49574
# test: 1df0fb31-6604-4679-9ec4-7a1d65e49574
exec:--cfg;tests/commodity/ok.conf;--input.file;basic-01.txn;--output;out.filter-01;--reporting.accounts;^a.*;
# format: exec
# test:uuid: 633da495-ef30-4484-8b14-fbd1fdcc9684
# test: 633da495-ef30-4484-8b14-fbd1fdcc9684
exec:--cfg;tests/commodity/ok.conf;--input.file;basic-02.txn;--output;out.filter-02;--reporting.accounts;^a.*;
# format: exec
# test:uuid: 09e9a673-4730-4a03-b73a-5959730450f6
# test: 09e9a673-4730-4a03-b73a-5959730450f6
exec:--cfg;tests/commodity/ok.conf;--input.file;basic-03.txn;--output;out.filter-03;--reporting.accounts;^a.*;
# format: exec
# test:uuid: 7b8073e2-8264-4eba-b282-5bfb8e1718d2
# test: 7b8073e2-8264-4eba-b282-5bfb8e1718d2
#
# Example reports
# Billing
......
# format: exec
# test:uuid: 6cc57a39-49ad-4563-b349-5fa28766b575
# test: 6cc57a39-49ad-4563-b349-5fa28766b575
#
# Example reports
#
......
# format: exec
# test:uuid: 334203d1-a147-48ab-8ec2-50ce006cc9cc
# test: 334203d1-a147-48ab-8ec2-50ce006cc9cc
#
# Example reports
#
......
# format: exec
# test:uuid: 7f847843-d14d-4bea-8f8d-beb94ea675b4
# test: 7f847843-d14d-4bea-8f8d-beb94ea675b4
#
# Example reports
#
......
# format: exec
# test:uuid: 779fdbd7-93f8-48da-9860-8ce7a5c66e6e
# test: 779fdbd7-93f8-48da-9860-8ce7a5c66e6e
exec:--cfg;tests/commodity/ok.conf;--accounts.strict;false;--input.file;unknown-01.txn;--output;out.unknown-01;
# format: exec
# test:uuid: 773106ca-d6e5-4514-b19b-3e4d34283152
# test: 773106ca-d6e5-4514-b19b-3e4d34283152
#
# value position to value position (identity test)
exec:--cfg;tests/commodity/ok.conf;--input.file;valpos-01.txn;--output;out.valpos-01-01-step1;
......
# format: exec
# test:uuid: 54cb6baa-6c3d-4196-94bc-b6fd37ed0b57
# test: 54cb6baa-6c3d-4196-94bc-b6fd37ed0b57
exec:--cfg;tests/commodity/ok.conf;--input.file;valpos-01.txn;--output;out.valpos-01;
# format: exec
# test:uuid: d37de2c1-61bf-4ffc-8f7a-933ce8380b2f
# test: d37de2c1-61bf-4ffc-8f7a-933ce8380b2f
#
# desc: total amount value position to value position (identity test)
exec:--cfg;tests/commodity/ok.conf;--input.file;valpos-02.txn;--output;out.valpos-02-01-step1;
......
# format: exec
# test:uuid: 2501f96c-46d8-4711-9e7e-dc70e4af329d
# test: 2501f96c-46d8-4711-9e7e-dc70e4af329d
# desc: total prices
exec:--cfg;tests/commodity/ok.conf;--input.file;valpos-02.txn;--output;out.valpos-02;
# format: exec
# test:uuid: d0dd6b75-238e-49cf-a048-a77baafba9bd
# test: d0dd6b75-238e-49cf-a048-a77baafba9bd
# desc: Value positions with C1->C2; C3->C2
exec:--cfg;tests/commodity/ok.conf;--input.file;valpos-03.txn;--output;out.valpos-03;
# format: exec
# test:uuid: 370393e9-bc2f-4aa1-a81c-08d536487fe7
# test: 370393e9-bc2f-4aa1-a81c-08d536487fe7
# desc: compatibility test vector for TEP-1009, Phase-1
exec:--cfg;tests/compat/ok.conf;--input.file;journal-v1v2-01.txn;--output;out.journal-v1v2-01;
# format: exec
# test:uuid: ba7e3b73-c1f7-4a82-832d-c75dc866149b
# test: ba7e3b73-c1f7-4a82-832d-c75dc866149b
exec:--cfg;tests/core/ex/ex-txn.dir-not-found.conf;
# format: exec
# test:uuid: c233295d-08b9-49b5-b384-634fc8432e64
# test: c233295d-08b9-49b5-b384-634fc8432e64
# commit not found
exec:--cfg;tests/core/git-ok.conf;--input.git.commit;ef88456ffae9eb546d115833f2ad66d48a8e268b;
# format: exec
# test:uuid: aeb11f77-ba35-400f-bdae-50d6ebb7e098
# test: aeb11f77-ba35-400f-bdae-50d6ebb7e098
# malformed sha1
exec:--cfg;tests/core/git-ok.conf;--input.git.commit;//;
# format: exec
# test:uuid: 7cb6af2e-3061-4867-96e3-ee175b87a114
# test: 7cb6af2e-3061-4867-96e3-ee175b87a114
# can not resolve
exec:--cfg;tests/core/git-ok.conf;--input.git.commit;^^HEAD;
# format: exec
# test:uuid: 4b507e08-b90e-4a6f-9c6b-4fef7c58d9fe
# test: 4b507e08-b90e-4a6f-9c6b-4fef7c58d9fe
# ref which is not found
exec:--cfg;tests/core/git-ok.conf;--input.git.ref;not-found-ref;
# format: exec
# test:uuid: 14b7e8eb-d168-48b2-86e7-8d922f306ad0
# test: 14b7e8eb-d168-48b2-86e7-8d922f306ad0
# ref format is invalid
exec:--cfg;tests/core/git-ok.conf;--input.git.ref;^^^;
# format: exec
# test:uuid: 25452d77-aae5-414c-a6a6-bd60f090731e
# test: 25452d77-aae5-414c-a6a6-bd60f090731e
# parser error with shard data
exec:--cfg;tests/core/git-ok.conf;--input.git.ref;error-01;
# format: exec
# test:uuid: 5c0a2e2c-f82c-400a-a9bb-bc7b83010b3c
# test: 5c0a2e2c-f82c-400a-a9bb-bc7b83010b3c
# link inside reposiotyr, not supported
exec:--cfg;tests/core/git-ok.conf;--input.git.ref;linktxn-01;
# format: exec
# test:uuid: b0116db0-dd2b-40fb-976e-ee28118bc1e8
# test: b0116db0-dd2b-40fb-976e-ee28118bc1e8
# not git repository
exec:--cfg;tests/core/ex/git-not-git-repo.conf;
# format: exec
# test:uuid: 4569085c-04a8-4330-9c03-d07ea0935f22
# test: 4569085c-04a8-4330-9c03-d07ea0935f22
# repo not found
exec:--cfg;tests/core/ex/git-repo-not-found.conf;
# format: exec
# test:uuid: 9c9b341f-2ffe-4cad-8c24-174334e39a17
# test: 9c9b341f-2ffe-4cad-8c24-174334e39a17
# desc: unknown storage type from command line
exec:--cfg;tests/core/git-ok.conf;--input.storage;boo;
# format: exec
# test:uuid: 8722a7e2-04fd-4b32-a259-e16ca882a725
# test: 8722a7e2-04fd-4b32-a259-e16ca882a725
exec:--cfg;tests/core/ex/ex-empty-txns.conf;
# format: exec
# test:uuid: a32df7bb-b499-4f7b-98c8-5103ceac82fb
# test: a32df7bb-b499-4f7b-98c8-5103ceac82fb
# empty transaction set
exec:--cfg;tests/core/ex/git-empty-txns.conf;
# format: exec
# test:uuid: 144bd8b1-aa94-4454-a490-b0e8fdaddc1e
# test: 144bd8b1-aa94-4454-a490-b0e8fdaddc1e
exec:--cfg;tests/core/ex/ex-empty-txns.conf;
# format: exec
# test:uuid: 71d06779-dce9-4499-b54a-0af85b33ac44
# test: 71d06779-dce9-4499-b54a-0af85b33ac44
exec:--cfg;tests/core/ex.conf;--input.file;zero-posting.txn;
# format: exec
# test:uuid: a6031106-1bf7-47cf-8837-0c77566db79d
# test: a6031106-1bf7-47cf-8837-0c77566db79d
# desc: git and filter, validate metadata, 3rd commit
exec:--cfg;tests/core/git-ok.conf;--input.git.commit;3ebf141;--output;out.git-and-filter-01;--reporting.exports;identity;equity;--reporting.reports;balance;balance-group;register;--reporting.formats;txt;json;--api-filter-def;{ "txnFilter": { "TxnFilterTxnDescription": { "regex": "shard01" }}};
# format: exec
# test:uuid: ede5d6b5-1885-4e02-8f9d-e2e1034fb6e3
# test: ede5d6b5-1885-4e02-8f9d-e2e1034fb6e3
# commit-id-01: 1st commit
exec:--cfg;tests/core/git-ok.conf;--input.git.commit;4b0ea73bef9bd996102eed35712e80fe1c81207e;--output;out.git-commit-01;
# format: exec
# test:uuid: 7dfebf19-480c-4bf5-806a-4d560a20a1d4
# test: 7dfebf19-480c-4bf5-806a-4d560a20a1d4
# commit-id-01: 2nd commit
exec:--cfg;tests/core/git-ok.conf;--input.git.commit;3a1622d0c81cd1520f42ee357315d1db8c0e0771;--output;out.git-commit-02;
# format: exec
# test:uuid: f44faf05-7019-4c34-b0af-3345feb4ad37
# test: f44faf05-7019-4c34-b0af-3345feb4ad37
# commit-id-01: 3rd commit
exec:--cfg;tests/core/git-ok.conf;--input.git.commit;3ebf14112c0ba2b4263a4b7388c589b10db27b1e;--output;out.git-commit-03;
# format: exec
# test:uuid: 7752eee6-d3cf-4084-93c0-cb43a093fdd0
# test: 7752eee6-d3cf-4084-93c0-cb43a093fdd0
# commit-id 2rd by abbrev commit id
exec:--cfg;tests/core/git-ok.conf;--input.git.commit;3a1622d;--output;out.git-commit-04;--reporting.exports;identity;equity;--reporting.reports;balance;balance-group;register;--reporting.formats;txt;json;
# format: exec
# test:uuid: eb74f8a7-8f70-413f-a431-15b0a5b09aad
# test: eb74f8a7-8f70-413f-a431-15b0a5b09aad
# anomaly testing: directory which match txn filename
exec:--cfg;tests/core/git-ok.conf;--input.git.ref;dirtxn-01;--output;out.git-dirtxn-01;
# format: exec
# test:uuid: f865d983-2f48-40f8-9010-d326a83e959e
# test: f865d983-2f48-40f8-9010-d326a83e959e
# test effect of git.dir setting (cfg)
exec:--cfg;tests/core/git-dir.conf;--output;out.git-dirtxn-02;
# format: exec
# test:uuid: f25e0542-ef74-4131-99eb-e76a5b04b263
# test: f25e0542-ef74-4131-99eb-e76a5b04b263
# test effect of git.dir setting (CLI)
exec:--cfg;tests/core/git-dir.conf;--input.git.dir;git-txns/2019;--output;out.git-dirtxn-03;
# format: exec
# test:uuid: 292f250d-7cb2-4114-92e1-10f9a8d5b381
# test: 292f250d-7cb2-4114-92e1-10f9a8d5b381
# basic git test with master branch, default config
exec:--cfg;tests/core/git-ok.conf;--output;out.git-master-01;
# format: exec
# test:uuid: 1d2c22c1-e3fa-4cd4-a526-45318c15d13e
# test: 1d2c22c1-e3fa-4cd4-a526-45318c15d13e
# shard and cli ref
exec:--cfg;tests/core/git-ok.conf;--input.git.ref;shard-01;--output;out.git-shard-01;--reporting.exports;identity;equity;--reporting.reports;balance;balance-group;register;--reporting.formats;txt;json;