Output files of gsh built-in commands tests, for comparison against

run-time output.
This commit is contained in:
tribby 1999-11-30 19:34:56 +00:00
parent 74f2b97322
commit 769328325f
23 changed files with 143 additions and 0 deletions

View File

View File

@ -0,0 +1,2 @@
ls: ls -l
mv: cp -p mv

View File

@ -0,0 +1,6 @@
alias commands fg prefix setdebug unhash
bg dirs hash ps setenv unset
bindkey echo history pushd source which
cd edit jobs pwd stop
chdir exit kill rehash tset
clear export popd set unalias

View File

@ -0,0 +1,4 @@
- - - - - - - - - - E C H O T E S T S - - - - - - - - - -
Testing whether the echo command inserts an extra space:
There should be no space between -><- the '->' and '<-'

View File

@ -0,0 +1,2 @@
callsystem.c dotests echoparams.c shellenv.c testfork.c

View File

@ -0,0 +1,25 @@
apropos cp gsh.debug pwd testfork
aroff cpp gsh.nodebug rcp testjobs
asml ctags gsh.r releasemem testjobs2
assemble cut gsh0 removerez time
aw30 date head rlogin touch
awk day help rm tr
basename describe hostname rmdir true
binprint df init rsh udl
callsystem diff install script uname
cat dirname kill sed uncompress
catrez dmake last setvers uniq
center dotests launch shellenv unshar
chmod du less singletc uptime
chtyp echo link sleep vi
cksum echoparams logger smallbi wall
cmdtest egrep ls split wc
cmdtest4fr false lseg strings whatis
cmdtestmul fgrep man stty whereis
cmp fmt mkdir su who
cmpl freeze more sum whois
coff ftp nroff tail yankit
colcrt fulltests.mul passwd tar yes
compile getvers print10params tee
compress grep ps test
copycat gsh purge testedit

View File

@ -0,0 +1,15 @@
Command line: echoparams 'Parameter #1' "" p3 '' "Last param"
parameter 0: 'echoparams'
parameter 1: ''Parameter'
parameter 2: '#1''
parameter 3: ''
parameter 4: 'p3'
parameter 5: ''''
parameter 6: 'Last param'
Reparsing...
parameter 0: 'echoparams'
parameter 1: 'Parameter #1'
parameter 2: ''
parameter 3: 'p3'
parameter 4: ''
parameter 5: 'Last param'

View File

@ -0,0 +1,11 @@
Command line: echoparams '{ print "Hello, world" }' filename
parameter 0: 'echoparams'
parameter 1: ''{'
parameter 2: 'print'
parameter 3: 'Hello, world'
parameter 4: '}''
parameter 5: 'filename'
Reparsing...
parameter 0: 'echoparams'
parameter 1: '{ print "Hello, world" }'
parameter 2: 'filename'

View File

@ -0,0 +1 @@
Test variable has been set to 1

View File

@ -0,0 +1,14 @@
Command line: echoparams "Parameter #1" "" p3 "" "Last param"
parameter 0: 'echoparams'
parameter 1: 'Parameter #1'
parameter 2: ''
parameter 3: 'p3'
parameter 4: ''
parameter 5: 'Last param'
Reparsing...
parameter 0: 'echoparams'
parameter 1: 'Parameter #1'
parameter 2: ''
parameter 3: 'p3'
parameter 4: ''
parameter 5: 'Last param'

View File

@ -0,0 +1,2 @@
Test of system() function
`` returns value = 0

View File

@ -0,0 +1 @@
This is test command number 1

View File

@ -0,0 +1 @@
This is test command number 2

View File

@ -0,0 +1,18 @@
 *: :H1:
0: :src:gno:bin:gsh:tests:
1: :obj:gno:bin:gsh:
2: :lib:
3: :tmp:
4: :lang:orca:shell:
5: :lang:orca:languages:
6: :lang:orca:utilities:
8: :home:cmd:
9: :obj:gno:bin:gsh:
10: .CONSOLE:
11: .CONSOLE:
12: .CONSOLE:
13: :lib:
14: :tmp:
15: :lang:orca:shell:
16: :lang:orca:languages:
17: :lang:orca:utilities:

View File

@ -0,0 +1,11 @@
p0 = print10params
p1 = p1
p2 = p2
p3 = p3
p4 = p4
p5 = p5
p6 = p6
p7 = p7
p8 = p8
p9 = p9
p10 = p10

View File

@ -0,0 +1 @@
:bin:

View File

@ -0,0 +1 @@
:tmp:bi.out:

View File

@ -0,0 +1,2 @@
This is a success
This is another success

View File

@ -0,0 +1,8 @@
Command line: echoparams "This ; will" "see if ; are confusing"
parameter 0: 'echoparams'
parameter 1: 'This ; will'
parameter 2: 'see if ; are confusing'
Reparsing...
parameter 0: 'echoparams'
parameter 1: 'This ; will'
parameter 2: 'see if ; are confusing'

View File

@ -0,0 +1,15 @@
CMPDIR = /src/gno/bin/gsh/tests/bi.out
LISTFILE1 = sed1.list
PATH = /src/gno/bin/gsh/tests /obj/gno/bin/gsh /bin /usr/bin
LISTFILE2 = sed2.list
TESTCMD = set
INFILE = sed0.in
SHELL = /obj/gno/bin/gsh/gsh
COMPARE = cmp
status = 0
LISTFILE = set.list
0 = singletc
TERM = gnocon
USER = test
HOME = /src/gno/bin/gsh/tests
OUTDIR = /tmp/bi.out

View File

@ -0,0 +1 @@
/src/gno/bin/gsh/tests/ :src:gno:bin:gsh:tests:

View File

@ -0,0 +1 @@
Aliased as ls -l

View File

@ -0,0 +1 @@
:bin:ls