summaryrefslogtreecommitdiffstats
path: root/python/run-python-tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/run-python-tests')
-rwxr-xr-xpython/run-python-tests7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/run-python-tests b/python/run-python-tests
index b305db7..e8c8c14 100755
--- a/python/run-python-tests
+++ b/python/run-python-tests
@@ -1,6 +1,6 @@
-#!/bin/sh -
+#!/bin/bash -
# hivex Python bindings
-# Copyright (C) 2009-2010 Red Hat Inc.
+# Copyright (C) 2009-2011 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,5 +20,6 @@ set -e
shopt -s nullglob
for f in t/*.py; do
- python $f
+ basename "$f"
+ python "$f"
done