summaryrefslogtreecommitdiff
path: root/apps/interpreters/bas/test/test51
blob: 9341dd09be79fd610e62ef02e9ec1e8c945ab783 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

echo -n $0: 'Print items... '

cat >test.bas <<'eof'
PRINT "Line 1";TAB(78);1.23456789
eof

cat >test.ref <<'eof'
Line 1                                                                       
 1.234568 
eof

sh ./test/runbas test.bas >test.data

if cmp test.ref test.data
then
  rm -f test.*
  echo passed
else
  echo failed
  exit 1
fi