53 |
|
|
54 |
printf "Creating input data. Please wait" |
printf "Creating input data. Please wait" |
55 |
activity="create data" |
activity="create data" |
56 |
i=0 |
( while true ; do |
57 |
while [ $i -lt 100000 ] ; do |
echo AB12; |
58 |
echo AB12 >> $TEMPDIR/large.dat; |
done ) | head -100000 >> $TEMPDIR/large.dat |
59 |
i=$[$i + 1]; |
if [ $? -ne 0 ] ; then no_result ; fi |
|
done; |
|
60 |
printf '.' |
printf '.' |
61 |
i=0 |
( while true ; do |
62 |
while [ $i -lt 100000 ] ; do |
echo AB04; |
63 |
echo AB04 >> $TEMPDIR/large.dat; |
done ) | head -100000 >> $TEMPDIR/large.dat |
|
i=$[$i + 1]; |
|
|
done; |
|
64 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
65 |
printf "\n"; |
printf "\n"; |
66 |
|
|
80 |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null |
81 |
if [ $? -ne 0 ] ; then fail ; fi |
if [ $? -ne 0 ] ; then fail ; fi |
82 |
|
|
|
|
|
83 |
activity="appending to data" |
activity="appending to data" |
84 |
# Put another 100,000 cases into large.dat |
# Put another 100,000 cases into large.dat |
85 |
i=0 |
( while true ; do |
86 |
while [ $i -lt 50000 ] ; do |
echo AB04 |
87 |
echo AB04 >> $TEMPDIR/large.dat; |
echo AB12 |
88 |
echo AB12 >> $TEMPDIR/large.dat; |
done ) | head -50000 >> $TEMPDIR/large.dat |
|
i=$[$i + 1]; |
|
|
done; |
|
89 |
if [ $? -ne 0 ] ; then no_result ; fi |
if [ $? -ne 0 ] ; then no_result ; fi |
90 |
|
|
91 |
activity="run program" |
activity="run program" |
92 |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null |
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null |
93 |
if [ $? -ne 0 ] ; then fail ; fi |
if [ $? -ne 0 ] ; then fail ; fi |
94 |
|
|
|
|
|
|
|
|
95 |
pass; |
pass; |