On Tue, 2006-11-14 at 09:55 -0800, Nishanth Aravamudan wrote: > On 14.11.2006 [12:29:01 +1100], David Gibson wrote: > diff --git a/tests/run_tests.sh b/tests/run_tests.sh > index d0be9d1..adda47c 100755 > --- a/tests/run_tests.sh > +++ b/tests/run_tests.sh > @@ -75,10 +75,15 @@ elfshare_test () { > # Run each elfshare test invocation independently - clean up the > # sharefiles before and after: > NUM_THREADS=2 > + rm -rf `hugetlbfs_path`/elflink-uid-`id -u` > run_test HUGETLB_SHARE=2 "$@" "xB.$baseprog" $NUM_THREADS > + rm -rf `hugetlbfs_path`/elflink-uid-`id -u` > run_test HUGETLB_SHARE=1 "$@" "xB.$baseprog" $NUM_THREADS > + rm -rf `hugetlbfs_path`/elflink-uid-`id -u` > run_test HUGETLB_SHARE=2 "$@" "xBDT.$baseprog" $NUM_THREADS > + rm -rf `hugetlbfs_path`/elflink-uid-`id -u` > run_test HUGETLB_SHARE=1 "$@" "xBDT.$baseprog" $NUM_THREADS > + rm -rf `hugetlbfs_path`/elflink-uid-`id -u`
How about a function to do that rather than repeating that string 5 times? -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel