#!/bin/bash
doit()
{
  seq 100 | stopos add
  while true ; do
    stopos next
    if [ "$STOPOS_RC" != OK ]; then
      break
    fi
    stopos remove
  done
}
module load stopos
for p in gdbm flat files mysql ; do
  export STOPOS_PROT=$p
  echo  $STOPOS_PROT :
  stopos create
  time doit
done
