#!/bin/csh -f

set cmdname  = $0:t;
set rootpath = $0:h/../..
pushd $rootpath > /dev/null
set rootpath = `pwd`
popd > /dev/null

set i = 1
while (1)
    echo '---------- try:' ${i} '---------------'
    ${rootpath}/g7/test/check <<EOF
y
EOF
    mv check.log check${i}.log
    @ i++
    sleep 1
end
