]> granicus.if.org Git - procps-ng/commitdiff
Fixed last_value for loops over 99999
authorCraig Small <csmall@enc.com.au>
Mon, 25 Mar 2013 10:56:23 +0000 (21:56 +1100)
committerCraig Small <csmall@enc.com.au>
Mon, 25 Mar 2013 10:56:23 +0000 (21:56 +1100)
For large loops, the value 999,999 was big, but not big enough.

References: http://www.linuxfromscratch.org/lfs/view/development/chapter06/procps-ng.html

testsuite/config/unix.exp

index 2a72c074e098377974517f3d5c739773535d0465..31db537bd5ba4cfd1ca0e5c4f3050a384eb37388 100644 (file)
@@ -80,7 +80,7 @@ proc expect_table_dsc { test match_header match_item } {
     }
 
     set do_loop 1
-    set last_value 99999999
+    set last_value &9
     set found_item 0
     while { $do_loop ==1 } {
     expect {