Skip to content

Commit 67b1068

Browse files
committed
Add check-md5sum scripts for all CSV types
1 parent b486136 commit 67b1068

File tree

5 files changed

+95
-2
lines changed

5 files changed

+95
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ install: true
1515
script:
1616
- cp params-csv.ini params.ini
1717
- docker run --rm --mount type=bind,source="$(pwd)/",target="/opt/ldbc_snb_datagen/out" --mount type=bind,source="$(pwd)/params.ini",target="/opt/ldbc_snb_datagen/params.ini" ldbc/datagen
18-
- bash check-md5sums.sh
18+
- bash check-md5sums-basic.sh
1919
- mkdir out
2020
- cp -r substitution_parameters out/
2121
notifications:

check-md5sums.sh renamed to check-md5sums-basic.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ set -e
77
[[ `md5sum social_network/static/place_0_0.csv | cut -d' ' -f1` == 'af21fd950c4a5766391d50e1c8ee6a16' ]]
88
[[ `md5sum social_network/static/place_isPartOf_place_0_0.csv | cut -d' ' -f1` == '3ec20dfa7de510165910e201aa0cef8d' ]]
99
[[ `md5sum social_network/static/tag_0_0.csv | cut -d' ' -f1` == '8d9697e4c0a8bcf8cf8a8c4e3e26c688' ]]
10+
[[ `md5sum social_network/static/tag_hasType_tagclass_0_0.csv | cut -d' ' -f1` == '0333fee682a3d371ff932d782e318bd8' ]]
1011
[[ `md5sum social_network/static/tagclass_0_0.csv | cut -d' ' -f1` == '91f1225d669ddf277ade821a3d5136dc' ]]
1112
[[ `md5sum social_network/static/tagclass_isSubclassOf_tagclass_0_0.csv | cut -d' ' -f1` == '4b7b5342a2e97ab2042f319bf2a96557' ]]
12-
[[ `md5sum social_network/static/tag_hasType_tagclass_0_0.csv | cut -d' ' -f1` == '0333fee682a3d371ff932d782e318bd8' ]]
1313

1414
[[ `md5sum social_network/dynamic/comment_0_0.csv | cut -d' ' -f1` == 'd1856b88d75eda099b8aec09710376fb' ]]
1515
[[ `md5sum social_network/dynamic/comment_hasCreator_person_0_0.csv | cut -d' ' -f1` == '91b5e4cc2a80dfd8e3d807c2a5733c5e' ]]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
[[ `md5sum social_network/static/organisation_0_0.csv | cut -d' ' -f1` == 'ebe578bcc856dc7bfea164b4fa194cbc' ]]
6+
[[ `md5sum social_network/static/place_0_0.csv | cut -d' ' -f1` == 'a4f5c04146330d3a11b0441522cd6d74' ]]
7+
[[ `md5sum social_network/static/tag_0_0.csv | cut -d' ' -f1` == '2ecf6319e808d1cdd45d917ddaab31e1' ]]
8+
[[ `md5sum social_network/static/tagclass_0_0.csv | cut -d' ' -f1` == '2a9c260bd69680a82a6369b62e846c71' ]]
9+
10+
[[ `md5sum social_network/dynamic/comment_0_0.csv | cut -d' ' -f1` == '8fc7a251596079be643a5cd6b3163b5d' ]]
11+
[[ `md5sum social_network/dynamic/comment_hasTag_tag_0_0.csv | cut -d' ' -f1` == 'f434548899ea8218ef2e351988d0f117' ]]
12+
[[ `md5sum social_network/dynamic/forum_0_0.csv | cut -d' ' -f1` == 'ed77ae23647dbb76ebc9915af5e7e34e' ]]
13+
[[ `md5sum social_network/dynamic/forum_hasMember_person_0_0.csv | cut -d' ' -f1` == 'b9b5327212d6e12734da6d9e7340b62b' ]]
14+
[[ `md5sum social_network/dynamic/forum_hasTag_tag_0_0.csv | cut -d' ' -f1` == 'de076e0181c59885b72755f20e73b0e3' ]]
15+
[[ `md5sum social_network/dynamic/person_0_0.csv | cut -d' ' -f1` == '23e5a120ddd42abeaa541b8be7758334' ]]
16+
[[ `md5sum social_network/dynamic/person_hasInterest_tag_0_0.csv | cut -d' ' -f1` == '42e0e4d51cd4fb56b18cd20834216118' ]]
17+
[[ `md5sum social_network/dynamic/person_knows_person_0_0.csv | cut -d' ' -f1` == 'e8ae7a263e040f9b2b475ebc1e788fe9' ]]
18+
[[ `md5sum social_network/dynamic/person_likes_comment_0_0.csv | cut -d' ' -f1` == '6d9412934d7e9882fc4154ec74ecf952' ]]
19+
[[ `md5sum social_network/dynamic/person_likes_post_0_0.csv | cut -d' ' -f1` == 'e0d460d75f5e60b32e0bb544d2d83951' ]]
20+
[[ `md5sum social_network/dynamic/person_studyAt_organisation_0_0.csv | cut -d' ' -f1` == 'cb2313acb51295ebe7fee6176467d2f5' ]]
21+
[[ `md5sum social_network/dynamic/person_workAt_organisation_0_0.csv | cut -d' ' -f1` == 'ef5a7e95d9870e5715e7f9f4706ee349' ]]
22+
[[ `md5sum social_network/dynamic/post_0_0.csv | cut -d' ' -f1` == '11a2d5e2d26fbd60631b15a100d46eda' ]]
23+
[[ `md5sum social_network/dynamic/post_hasTag_tag_0_0.csv | cut -d' ' -f1` == '1be77b94b9559f4a17a04b996df36638' ]]
24+
25+
[[ `md5sum social_network/updateStream_0_0_forum.csv | cut -d' ' -f1` == '7e00243f68a8171974eabe4ac37df86b' ]]
26+
[[ `md5sum social_network/updateStream_0_0_person.csv | cut -d' ' -f1` == '2e1f44e6d48112a9fd87092206153b57' ]]

check-md5sums-composite.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
[[ `md5sum social_network/static/organisation_0_0.csv | cut -d' ' -f1` == 'e6164941fce2c182ec303c84568e9282' ]]
6+
[[ `md5sum social_network/static/organisation_isLocatedIn_place_0_0.csv | cut -d' ' -f1` == 'f78cd5fe83cb7d860aae5f2350a89d78' ]]
7+
[[ `md5sum social_network/static/place_0_0.csv | cut -d' ' -f1` == 'af21fd950c4a5766391d50e1c8ee6a16' ]]
8+
[[ `md5sum social_network/static/place_isPartOf_place_0_0.csv | cut -d' ' -f1` == '3ec20dfa7de510165910e201aa0cef8d' ]]
9+
[[ `md5sum social_network/static/tag_0_0.csv | cut -d' ' -f1` == '8d9697e4c0a8bcf8cf8a8c4e3e26c688' ]]
10+
[[ `md5sum social_network/static/tag_hasType_tagclass_0_0.csv | cut -d' ' -f1` == '0333fee682a3d371ff932d782e318bd8' ]]
11+
[[ `md5sum social_network/static/tagclass_0_0.csv | cut -d' ' -f1` == '91f1225d669ddf277ade821a3d5136dc' ]]
12+
[[ `md5sum social_network/static/tagclass_isSubclassOf_tagclass_0_0.csv | cut -d' ' -f1` == '4b7b5342a2e97ab2042f319bf2a96557' ]]
13+
14+
[[ `md5sum social_network/dynamic/comment_0_0.csv | cut -d' ' -f1` == 'd1856b88d75eda099b8aec09710376fb' ]]
15+
[[ `md5sum social_network/dynamic/comment_hasCreator_person_0_0.csv | cut -d' ' -f1` == '91b5e4cc2a80dfd8e3d807c2a5733c5e' ]]
16+
[[ `md5sum social_network/dynamic/comment_hasTag_tag_0_0.csv | cut -d' ' -f1` == 'f434548899ea8218ef2e351988d0f117' ]]
17+
[[ `md5sum social_network/dynamic/comment_isLocatedIn_place_0_0.csv | cut -d' ' -f1` == 'ab411baf2055fa625bb7a703e3e4a745' ]]
18+
[[ `md5sum social_network/dynamic/comment_replyOf_comment_0_0.csv | cut -d' ' -f1` == '4918a8ca7e6dd3404642c6b2a67744aa' ]]
19+
[[ `md5sum social_network/dynamic/comment_replyOf_post_0_0.csv | cut -d' ' -f1` == '5a3aa006fd811c94cb7d02e84df2c468' ]]
20+
[[ `md5sum social_network/dynamic/forum_0_0.csv | cut -d' ' -f1` == 'a96fa4c161f51320819d67af695bf7b7' ]]
21+
[[ `md5sum social_network/dynamic/forum_containerOf_post_0_0.csv | cut -d' ' -f1` == '4d3b696b6aa4903ce3422f0e2ca3037e' ]]
22+
[[ `md5sum social_network/dynamic/forum_hasMember_person_0_0.csv | cut -d' ' -f1` == 'b9b5327212d6e12734da6d9e7340b62b' ]]
23+
[[ `md5sum social_network/dynamic/forum_hasModerator_person_0_0.csv | cut -d' ' -f1` == '67089c7a61cddccdda15086b694dae7c' ]]
24+
[[ `md5sum social_network/dynamic/forum_hasTag_tag_0_0.csv | cut -d' ' -f1` == 'de076e0181c59885b72755f20e73b0e3' ]]
25+
[[ `md5sum social_network/dynamic/person_0_0.csv | cut -d' ' -f1` == '1a51fea05349c0f85f1f1d50f973b5c2' ]]
26+
[[ `md5sum social_network/dynamic/person_hasInterest_tag_0_0.csv | cut -d' ' -f1` == '42e0e4d51cd4fb56b18cd20834216118' ]]
27+
[[ `md5sum social_network/dynamic/person_isLocatedIn_place_0_0.csv | cut -d' ' -f1` == 'ff540b6cd8d20e5f21461531404c6861' ]]
28+
[[ `md5sum social_network/dynamic/person_knows_person_0_0.csv | cut -d' ' -f1` == 'e8ae7a263e040f9b2b475ebc1e788fe9' ]]
29+
[[ `md5sum social_network/dynamic/person_likes_comment_0_0.csv | cut -d' ' -f1` == '6d9412934d7e9882fc4154ec74ecf952' ]]
30+
[[ `md5sum social_network/dynamic/person_likes_post_0_0.csv | cut -d' ' -f1` == 'e0d460d75f5e60b32e0bb544d2d83951' ]]
31+
[[ `md5sum social_network/dynamic/person_studyAt_organisation_0_0.csv | cut -d' ' -f1` == 'cb2313acb51295ebe7fee6176467d2f5' ]]
32+
[[ `md5sum social_network/dynamic/person_workAt_organisation_0_0.csv | cut -d' ' -f1` == 'ef5a7e95d9870e5715e7f9f4706ee349' ]]
33+
[[ `md5sum social_network/dynamic/post_0_0.csv | cut -d' ' -f1` == '29c261d1b8f87e255e723b58174225da' ]]
34+
[[ `md5sum social_network/dynamic/post_hasCreator_person_0_0.csv | cut -d' ' -f1` == 'f9d258616bb971dc7636e880fda1d146' ]]
35+
[[ `md5sum social_network/dynamic/post_hasTag_tag_0_0.csv | cut -d' ' -f1` == '1be77b94b9559f4a17a04b996df36638' ]]
36+
[[ `md5sum social_network/dynamic/post_isLocatedIn_place_0_0.csv | cut -d' ' -f1` == 'fabbb5c524946bc65416a7ffbdd065c5' ]]
37+
38+
[[ `md5sum social_network/updateStream_0_0_forum.csv | cut -d' ' -f1` == '7e00243f68a8171974eabe4ac37df86b' ]]
39+
[[ `md5sum social_network/updateStream_0_0_person.csv | cut -d' ' -f1` == '2e1f44e6d48112a9fd87092206153b57' ]]

check-md5sums-merge-foreign.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
[[ `md5sum social_network/static/organisation_0_0.csv | cut -d' ' -f1` == 'ebe578bcc856dc7bfea164b4fa194cbc' ]]
6+
[[ `md5sum social_network/static/place_0_0.csv | cut -d' ' -f1` == 'a4f5c04146330d3a11b0441522cd6d74' ]]
7+
[[ `md5sum social_network/static/tag_0_0.csv | cut -d' ' -f1` == '2ecf6319e808d1cdd45d917ddaab31e1' ]]
8+
[[ `md5sum social_network/static/tagclass_0_0.csv | cut -d' ' -f1` == '2a9c260bd69680a82a6369b62e846c71' ]]
9+
10+
[[ `md5sum social_network/dynamic/comment_0_0.csv | cut -d' ' -f1` == '8fc7a251596079be643a5cd6b3163b5d' ]]
11+
[[ `md5sum social_network/dynamic/comment_hasTag_tag_0_0.csv | cut -d' ' -f1` == 'f434548899ea8218ef2e351988d0f117' ]]
12+
[[ `md5sum social_network/dynamic/forum_0_0.csv | cut -d' ' -f1` == 'ed77ae23647dbb76ebc9915af5e7e34e' ]]
13+
[[ `md5sum social_network/dynamic/forum_hasMember_person_0_0.csv | cut -d' ' -f1` == 'b9b5327212d6e12734da6d9e7340b62b' ]]
14+
[[ `md5sum social_network/dynamic/forum_hasTag_tag_0_0.csv | cut -d' ' -f1` == 'de076e0181c59885b72755f20e73b0e3' ]]
15+
[[ `md5sum social_network/dynamic/person_0_0.csv | cut -d' ' -f1` == 'd247f234794df253720f9c4dbf1e77fe' ]]
16+
[[ `md5sum social_network/dynamic/person_email_emailaddress_0_0.csv | cut -d' ' -f1` == 'afedc552761a9b59d9a78ecfe4490291' ]]
17+
[[ `md5sum social_network/dynamic/person_hasInterest_tag_0_0.csv | cut -d' ' -f1` == '42e0e4d51cd4fb56b18cd20834216118' ]]
18+
[[ `md5sum social_network/dynamic/person_knows_person_0_0.csv | cut -d' ' -f1` == 'e8ae7a263e040f9b2b475ebc1e788fe9' ]]
19+
[[ `md5sum social_network/dynamic/person_likes_comment_0_0.csv | cut -d' ' -f1` == '6d9412934d7e9882fc4154ec74ecf952' ]]
20+
[[ `md5sum social_network/dynamic/person_likes_post_0_0.csv | cut -d' ' -f1` == 'e0d460d75f5e60b32e0bb544d2d83951' ]]
21+
[[ `md5sum social_network/dynamic/person_speaks_language_0_0.csv | cut -d' ' -f1` == '474b809d7e756dae80f592f454d33fc9' ]]
22+
[[ `md5sum social_network/dynamic/person_studyAt_organisation_0_0.csv | cut -d' ' -f1` == 'cb2313acb51295ebe7fee6176467d2f5' ]]
23+
[[ `md5sum social_network/dynamic/person_workAt_organisation_0_0.csv | cut -d' ' -f1` == 'ef5a7e95d9870e5715e7f9f4706ee349' ]]
24+
[[ `md5sum social_network/dynamic/post_0_0.csv | cut -d' ' -f1` == '11a2d5e2d26fbd60631b15a100d46eda' ]]
25+
[[ `md5sum social_network/dynamic/post_hasTag_tag_0_0.csv | cut -d' ' -f1` == '1be77b94b9559f4a17a04b996df36638' ]]
26+
27+
[[ `md5sum social_network/updateStream_0_0_forum.csv | cut -d' ' -f1` == '7e00243f68a8171974eabe4ac37df86b' ]]
28+
[[ `md5sum social_network/updateStream_0_0_person.csv | cut -d' ' -f1` == '2e1f44e6d48112a9fd87092206153b57' ]]

0 commit comments

Comments
 (0)