summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-04-01 22:46:07 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-04-01 22:46:07 +0100
commit77b3cd202857a0763cecc88560e9eb7fc6af11a6 (patch)
tree88884ac0e2405361223aab428549319c64d004b4
parent45b2f004035322d3978d3b4c2840631c449d15af (diff)
downloadhivex-77b3cd202857a0763cecc88560e9eb7fc6af11a6.tar.gz
hivex-77b3cd202857a0763cecc88560e9eb7fc6af11a6.tar.xz
hivex-77b3cd202857a0763cecc88560e9eb7fc6af11a6.zip
debian: Fix python test script for bash.
-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