[seed] down to 1 failure on make check - this patch fixes the argv failure - when run under make check



commit f73efe952e589e3be1508722eb1ec08c064a6fd1
Author: Alan Knowles <alan akbkhome com>
Date:   Wed Apr 17 00:26:24 2013 +0800

    down to 1 failure on make check - this patch fixes the argv failure - when run under make check

 tests/javascript/argv.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/javascript/argv.js b/tests/javascript/argv.js
index 67c6930..f24b454 100755
--- a/tests/javascript/argv.js
+++ b/tests/javascript/argv.js
@@ -1,3 +1,5 @@
 #!/usr/bin/env seed
 
-imports.testsuite.assert(Seed.argv[0] == "seed")
+// when running make check, argv is actually path/to/lt-seed
+
+imports.testsuite.assert(Seed.argv[0] == "seed" || Seed.argv[0].match(/\/lt-seed$/))


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