Skip to content

Commit ae6ece4

Browse files
committed
Update system test mysql auth to work with updated rdfio/rdfio-vagrantbox
1 parent 1a235f3 commit ae6ece4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/systemtest/run_advanced_system_test_local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
echo "Starting advanced system test ...";
33

4-
mysql -u root smw < emptydb.sql
4+
mysql -u smw --password=changethis smw < emptydb.sql
55
php ../../../../maintenance/importDump.php advanced_content_initial.xml
66

77
php ../../maintenance/importRdf.php --in data/testdata_advanced.ttl

tests/systemtest/run_roundtrip_test_local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ actual="roundtrip_content_actual.nt"
66
actual_filtered="roundtrip_content_actual_filtered.nt"
77

88
rm $actual $actual_filtered
9-
mysql -u root smw < emptydb.sql
9+
mysql -u smw --password=changethis smw < emptydb.sql
1010
php ../../maintenance/importRdf.php --in data/testdata.nt
1111
php ../../maintenance/exportRdf.php --origuris --format ntriples --out $actual
1212

tests/systemtest/run_system_test_local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
echo "Starting simple system test..."
33

44
rm simple_content_actual.xml
5-
mysql -u root smw < emptydb.sql
5+
mysql -u smw --password=changethis smw < emptydb.sql
66
php ../../maintenance/importRdf.php --in data/testdata.ttl
77
php ../../../../maintenance/dumpBackup.php --current | sed -r 's#(</text>|</title>)#\n\1#' | sed 's#<title>#<title>\n#' | grep -vP '[<>]' > simple_content_actual.xml
88
if ! diff -q simple_content_{expected,actual}.xml &>/dev/null; then

0 commit comments

Comments
 (0)