ref: b3e875d7db45fca0cde9f4efa12872f61afc54d7
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