ref: ddd35edac6785918a0c4ca11548db2a7f211a732
dir: /tests/chknlastdatablocks.rc/
#!/bin/rc nl=' ' fn check { r=`$nl{6.nlastdatablocks $1} if(! ~ $r $2){ echo "$"r" echo "$"2" echo $status >[1=2] echo fail: $1: got $r expected $2 # exit 'fail' } } check 484 1 check 485 1 check 491 1 check 492 1 check 493 2 check 512 2 check 1007636 1969 check 1048556 2048 check 1048576 1 check 2056192 1969 check 0 0 check 1 1