diff --git a/README.md b/README.md
index c3203b034e7b0615bed4d42e83d4ceefe3e6448f..1ab115e0c514441c5eea96d097297547cd5b84b9 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
 # Scapy #
 
+[![Build Status](https://travis-ci.org/secdev/scapy.svg?branch=master)](https://travis-ci.org/secdev/scapy)
+
 Scapy is a powerful Python-based interactive packet manipulation
 program and library.
 
diff --git a/test/run_tests b/test/run_tests
index 033916ea8cd49b39ca4849468924b628e19c8af4..52ca07df3795a4cd6b1f899a0d6c1049999c529e 100755
--- a/test/run_tests
+++ b/test/run_tests
@@ -5,9 +5,9 @@ if python --version 2>&1 | grep -q '^Python 2'; then
 else
     PYTHON=python2
 fi
-if [ ! -n "$*" ]
+if [ -z "$*" ]
 then
-PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py -t regression.uts -f html -l -o /tmp/scapy_regression_test_$(date +%Y%m%d-%H%M%S).html
+    PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py -t regression.uts -f html -l -o /tmp/scapy_regression_test_$(date +%Y%m%d-%H%M%S).html
 else
-PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py "$@"
+    PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py "$@"
 fi