Skip to content

Commit c09ec0f

Browse files
committed
Adjust paths for tests
1 parent 621e3ad commit c09ec0f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

testing/phpmyadmin_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def test_content(match, content):
1515

1616
def test_phpmyadmin(url, username, password, server=None, sqlfile=None):
1717
if sqlfile is None:
18-
if os.path.exists('./world.sql'):
19-
sqlfile = './world.sql'
18+
if os.path.exists('/world.sql'):
19+
sqlfile = '/world.sql'
2020
else:
2121
sqlfile = './testing/world.sql'
2222
br = mechanize.Browser()

testing/test-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ done
6969

7070
# Perform tests
7171
if [ $ret -eq 0 ] ; then
72-
if [ -f ./phpmyadmin_test.py ] ; then
73-
FILENAME=./phpmyadmin_test.py
72+
if [ -f /phpmyadmin_test.py ] ; then
73+
FILENAME=/phpmyadmin_test.py
7474
else
7575
FILENAME=./testing/phpmyadmin_test.py
7676
fi

0 commit comments

Comments
 (0)