diff --git a/tests/p_python/10-test_python.sh b/tests/p_python/10-test_python.sh index 17b1452..3694ba6 100755 --- a/tests/p_python/10-test_python.sh +++ b/tests/p_python/10-test_python.sh @@ -8,11 +8,11 @@ t_Log "Running $0 - python can print Hello World" FILE='/var/tmp/python-test.py' cat > $FILE <<EOF -print "hello, centos!\n" +print "hello centos" EOF # Executing python -python $FILE -o $EXE | grep -cq 'hello. centos!' +python $FILE | grep -cq "hello centos" t_CheckExitStatus $? diff --git a/tests/p_python/20-python-mysql-test.sh b/tests/p_python/20-python-mysql-test.sh index a702922..8c00469 100755 --- a/tests/p_python/20-python-mysql-test.sh +++ b/tests/p_python/20-python-mysql-test.sh @@ -1,8 +1,6 @@ #!/bin/sh -#http://www.kitebird.com/articles/pydbapi.html # Author: Athmane Madjoudj <athmanem@gmail.com> # Author: Christoph Galuschka <christoph.galuschka@chello.at> -# reusing the script from LAMP-Tests t_Log "Running $0 - python can retrieve mysql-server version information."