Fix to [PATCH 8/10] numactl/libnuma - support assymetric platforms and memoryless nodes

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

 



I didn't see the error message scrolling off my screen and the error
didn't affect the results.  

-----------------
PATCH - fix fix mempol regression tests for assymetric platforms and memoryless nodes.

Incorrect conversion from `expr ...` to $[...]
Forgot to remove the 'expr'.

Signed-off-by:  Lee Schermerhorn <lee.schermerhorn@xxxxxx

 test/regress |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: numactl-1.0.3-rc1/test/regress
===================================================================
--- numactl-1.0.3-rc1.orig/test/regress	2008-04-03 12:43:22.000000000 -0400
+++ numactl-1.0.3-rc1/test/regress	2008-04-03 12:44:48.000000000 -0400
@@ -23,7 +23,7 @@ PAGES=$[ $SIZE / $PAGESIZE ]
 HALFPAGES=$[ $PAGES / 2 ]
 HALFPAGES=$[ $HALFPAGES - 100 ]
 DOUBLEPAGES=$[ $PAGES * 2 ]
-DOUBLEPAGES=$[ expr $DOUBLEPAGES - 200 ]
+DOUBLEPAGES=$[ $DOUBLEPAGES - 200 ]
 NEEDPAGES=$[ $DOUBLEPAGES + $DOUBLEPAGES / 5 ] # 20% spare
 
 declare -i maxnode


--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux