IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27023


Ignore:
Timestamp:
Feb 21, 2010, 11:24:44 AM (16 years ago)
Author:
eugene
Message:

add book tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/test/iotest.sh

    r15798 r27023  
    1818  periods      -exec 1.0
    1919  periods      -timeout 20
     20  active       false
    2021  npending 5
    2122 
     
    5657  end
    5758end
     59
     60macro show.book
     61  if ($0 != 2)
     62   echo "USAGE: show.book (book)"
     63   break
     64  end
     65
     66  book npages $1 -var npages
     67  for i 0 $npages
     68    book getpage $1 $i -var pagename
     69    book listpage $1 $pagename
     70  end
     71
     72  echo "npages: $npages"
     73end
     74
     75macro load.book
     76  queueload stdout -x "cat iotest.dat"
     77  ipptool2book stdout testbook -key chip_id
     78end
Note: See TracChangeset for help on using the changeset viewer.