hoo added a comment.

$ cat test.sh 
#!/bin/bash

tmpDir=`mktemp -d`
touch $tmpDir/foo.json.gz
touch $tmpDir/bar.ttl.gz
touch $tmpDir/bar.ttl.bz2

php DCAT.php --config=./config.example.json --dumpDir="$tmpDir" --outputDir=/tmp &&
rm -rf $tmpDir &&
echo "Find the output at /tmp/dcatap.rdf" &&
exit 0

rm -rf $tmpDir
echo Error

Identical output with PHP 5.5.9-1ubuntu4.24 and PHP 7.1.15 (cli):

$ bash test.sh 
Find the output at /tmp/dcatap.rdf
$ md5sum /tmp/dcatap.rdf 
f488c991f5a7dfd58f05ac2fc48c3706  /tmp/dcatap.rdf

TASK DETAIL
https://phabricator.wikimedia.org/T117534

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hoo
Cc: thiemowmde, Ladsgroup, WMDE-leszek, Lydia_Pintscher, Jdforrester-WMF, Imarlier, nichtich, MoritzMuehlenhoff, gerritbot, StudiesWorld, hoo, ArielGlenn, Lokal_Profil, Aklapper, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Litanwei, Lewizho99, Maathavan, Wikidata-bugs, aude, Svick, Mbch331, Krenair, Joe, jeremyb
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to