The run_tests script includes a couple of base extensions (the
"function" syntax, and the ("$@") array generating construct).
Therefore, we should list bash in the #! line, not just /bin/sh.  This
recently became relevant on Ubuntu edgy which has /bin/sh a link to
dash, not bash, by default.

Signed-off-by: David Gibson <[EMAIL PROTECTED]>

Index: libhugetlbfs/tests/run_tests.sh
===================================================================
--- libhugetlbfs.orig/tests/run_tests.sh        2006-11-01 18:46:25.000000000 
+1100
+++ libhugetlbfs/tests/run_tests.sh     2006-11-01 18:46:28.000000000 +1100
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 
 export QUIET_TEST=1
 export HUGETLB_VERBOSE=2


-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to