[tracker/tracker-0.10] functional-tests: Use correct argv in 400-extractor.py



commit 8a179507433c66997736fdafd89ccc0ca7c906f2
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Wed Aug 24 17:42:51 2011 +0100

    functional-tests: Use correct argv in 400-extractor.py

 tests/functional-tests/400-extractor.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/400-extractor.py b/tests/functional-tests/400-extractor.py
index ff4f52d..2e3762d 100755
--- a/tests/functional-tests/400-extractor.py
+++ b/tests/functional-tests/400-extractor.py
@@ -262,5 +262,5 @@ if __name__ == "__main__":
         if os.path.exists (sys.argv[1]) and sys.argv[1].endswith (".expected"):
             run_one (sys.argv[1])
         else:
-            print "Usage: %s [FILE.expected]" % (sys.argv[1])
+            print "Usage: %s [FILE.expected]" % (sys.argv[0])
         



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]