Mercurial > hg > audiodb
annotate tests/0013/run-test.sh @ 279:dee55886eca0 sampling
make the RNG a part of the audioDB object.
Easier to deal with memory discipline and initialization (though note
the FIXME comment in audioDB::initTables()).
Also initialize the RNG from the current time. A mature implementation
would use a proper source of entropy...
author | mas01cr |
---|---|
date | Wed, 02 Jul 2008 13:53:23 +0000 |
parents | e64a2e7f543c |
children |
rev | line source |
---|---|
mas01cr@87 | 1 #! /bin/bash |
mas01cr@87 | 2 |
mas01cr@87 | 3 . ../test-utils.sh |
mas01cr@87 | 4 |
mas01cr@87 | 5 start_server ${AUDIODB} 10013 |
mas01cr@87 | 6 |
mas01cr@87 | 7 check_server $! |
mas01cr@87 | 8 |
mas01cr@87 | 9 stop_server $! |
mas01cr@87 | 10 |
mas01cr@87 | 11 exit 104 |