Name Last Update
..
CVS Loading commit data...
GNUmakefile Loading commit data...
README Loading commit data...
TEST Loading commit data...
limited.c Loading commit data...
limited.h Loading commit data...
spec Loading commit data...
test combinations

1. time limited

run a time-limited app with a limit of 2 minutes

tickrom -t 0x8001 -l 0:2 -c $cert $cid ticket.sys

- verify that consumption is updated and that game exits after 2 minutes
(using the lp program)

- run a game with a longer limit, and exit before it expires and verify
that consumption is updated correctly.

- pull plug on a running game and verify that consumption = ticket limit


2. count limited

run a count-limited app with a limit of 2 plays

tickrom -t 0x8002 -l 1:2 -c $cert $cid ticket.sys


3. bonus game

run a bonus app with a algorithm code of 3.  The test sysapp will convert it
to a 2 minute time-limited app.  can only best tested using the test
sysapp.  verify that game exits after 2 minutes

tickrom -t 0x8003 -l 3:0 -c $cert $cid ticket.sys


4. parental control

create a time-limited and/or permanent ticket and run with the test
sysapp.  pressing the 'B' button before launching will impose a 2-minute
time limit.  verify that game exits after 2 minutes. 

- create a ticket with a time-limit of 1 minute and verify that the
'B' button doesn't extend it past 1 minute (limit should be
min[original, parental]