Added new testsuites
Showing
21 changed files
with
443 additions
and
0 deletions
... | @@ -487,18 +487,22 @@ AC_CONFIG_FILES([Makefile mailutils.spec | ... | @@ -487,18 +487,22 @@ AC_CONFIG_FILES([Makefile mailutils.spec |
487 | imap4d/Makefile | 487 | imap4d/Makefile |
488 | imap4d/testsuite/Makefile | 488 | imap4d/testsuite/Makefile |
489 | from/Makefile | 489 | from/Makefile |
490 | from/testsuite/Makefile | ||
490 | mail/Makefile | 491 | mail/Makefile |
491 | mail/testsuite/Makefile | 492 | mail/testsuite/Makefile |
492 | pop3d/Makefile | 493 | pop3d/Makefile |
493 | pop3d/testsuite/Makefile | 494 | pop3d/testsuite/Makefile |
494 | frm/Makefile | 495 | frm/Makefile |
496 | frm/testsuite/Makefile | ||
495 | sieve/Makefile | 497 | sieve/Makefile |
496 | messages/Makefile | 498 | messages/Makefile |
499 | messages/testsuite/Makefile | ||
497 | scripts/Makefile | 500 | scripts/Makefile |
498 | libmu_scm/Makefile | 501 | libmu_scm/Makefile |
499 | guimb/Makefile | 502 | guimb/Makefile |
500 | guimb/scm/Makefile | 503 | guimb/scm/Makefile |
501 | readmsg/Makefile | 504 | readmsg/Makefile |
505 | readmsg/testsuite/Makefile | ||
502 | comsat/Makefile | 506 | comsat/Makefile |
503 | mail.local/Makefile | 507 | mail.local/Makefile |
504 | mail.remote/Makefile | 508 | mail.remote/Makefile | ... | ... |
frm/testsuite/.cvsignore
0 → 100644
frm/testsuite/Makefile.am
0 → 100644
1 | AUTOMAKE_OPTIONS = dejagnu | ||
2 | DEJATOOL = frm | ||
3 | RUNTESTFLAGS = | ||
4 | CLEANFILES = *.log | ||
5 | test_dirs = frm | ||
6 | |||
7 | dist-hook: | ||
8 | here=`cd $(top_builddir)/$(subdir) && pwd`; \ | ||
9 | srcdir=`cd $(srcdir) && pwd`; \ | ||
10 | distdir=`cd $(distdir) && pwd`; \ | ||
11 | for dir in $(test_dirs); \ | ||
12 | do \ | ||
13 | cd $$srcdir;\ | ||
14 | mkdir $$distdir/$$dir;\ | ||
15 | cd $$dir;\ | ||
16 | for file in DISTFILES `cat DISTFILES`; do \ | ||
17 | d=$$srcdir/$$dir; \ | ||
18 | if test -d $$d/$$file; then \ | ||
19 | cp -pr $$d/$$file $$distdir/$$dir/$$file; \ | ||
20 | else \ | ||
21 | test -f $$distdir/$$dir/$$file \ | ||
22 | || cp -p $$d/$$file $$distdir/$$dir/$$file || exit; \ | ||
23 | fi; \ | ||
24 | done;\ | ||
25 | done;\ | ||
26 | cd $$here | ||
27 | |||
28 | site.exp: Makefile remote.exp | ||
29 | @echo 'Making a new site.exp file...' | ||
30 | @test ! -f site.bak || rm -f site.bak | ||
31 | @echo '## these variables are automatically generated by make ##' > $@-t | ||
32 | @echo '# Do not edit here. If you wish to override these values' >> $@-t | ||
33 | @echo '# edit the last section' >> $@-t | ||
34 | @echo 'set tool $(DEJATOOL)' >> $@-t | ||
35 | @echo "set top_srcdir `cd $(top_srcdir); pwd`" >> $@-t | ||
36 | @echo "set srcdir `cd $(srcdir); pwd`" >> $@-t | ||
37 | @echo 'set objdir' `pwd` >> $@-t | ||
38 | @echo 'set host_alias "$(host_alias)"' >> $@-t | ||
39 | @echo 'set host_triplet $(host_triplet)' >> $@-t | ||
40 | @echo 'set target_alias "$(target_alias)"' >> $@-t | ||
41 | @echo 'set target_triplet $(target_triplet)' >> $@-t | ||
42 | @echo 'set build_alias "$(build_alias)"' >> $@-t | ||
43 | @echo 'set build_triplet $(build_triplet)' >> $@-t | ||
44 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | ||
45 | @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t | ||
46 | @test ! -f site.exp || mv site.exp site.bak | ||
47 | @mv $@-t site.exp | ||
48 | |||
49 | remote.exp:; | ||
50 | @echo 'Making a new remote.exp file...' | ||
51 | @test ! -f remote.bak || rm -f remote.bak | ||
52 | @echo '## These variables are used to set up for the remote testing.' >> $@-t | ||
53 | @echo '## Please, read file README in this directory for instructions' >> $@-t | ||
54 | @echo '## on how to use this file' >> $@-t | ||
55 | @echo "set host_board `hostname`" >> $@-t | ||
56 | @echo 'set board_info($$host_board,connect) rlogin' >> $@-t | ||
57 | @echo 'set board_info($$host_board,shell_prompt) "\\$$ "' >> $@-t | ||
58 | @echo "set board_info(\$$host_board,top_srcdir) `cd $(top_srcdir); pwd`" >> $@-t | ||
59 | @echo "set board_info(\$$host_board,srcdir) `cd $(srcdir); pwd`" >> $@-t | ||
60 | @echo "set board_info(\$$host_board,objdir) `pwd`" >> $@-t | ||
61 | @echo "set board_info(\$$host_board,top_srcdir) `cd $(top_srcdir); pwd`" >> $@-t | ||
62 | @echo "set board_info(\$$host_board,top_builddir) `cd $(top_builddir); pwd`" >> $@-t | ||
63 | @test ! -f remote.exp || mv remote.exp remote.bak | ||
64 | @mv $@-t remote.exp | ||
65 | |||
66 | |||
67 | DISTCLEANFILES=*.exp *.log *.sum | ||
68 | |||
69 | distclean-local: | ||
70 | -rm -rf data |
frm/testsuite/frm/DISTFILES
0 → 100644
1 | test.exp | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
frm/testsuite/frm/test.exp
0 → 100644
1 | # -*- tcl -*- | ||
2 | # This file is part of Mailutils testsuite. | ||
3 | # Copyright (C) 2002, Free Software Foundation | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or modify | ||
6 | # it under the terms of the GNU General Public License as published by | ||
7 | # the Free Software Foundation; either version 2 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | # GNU General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software Foundation, | ||
17 | # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
18 | |||
19 | source $top_srcdir/testsuite/lib/mailutils.exp | ||
20 | |||
21 | mu_init | ||
22 | set env(MAIL) $MU_SPOOL_DIR/mbox1 | ||
23 | |||
24 | mu_prepare_spools | ||
25 | |||
26 | mu_exec -retcode 1 -message "frm" "Foo Bar\tJabberwocky"\ | ||
27 | "Bar\tRe: Jabberwocky"\ | ||
28 | "Sergey Poznyakoff\tSimple MIME"\ | ||
29 | "Sergey Poznyakoff\tNested MIME" | ||
30 | |||
31 | mu_exec -retcode 1 -message "frm -n" -arg -n \ | ||
32 | "1: Foo Bar\tJabberwocky"\ | ||
33 | "2: Bar\tRe: Jabberwocky"\ | ||
34 | "3: Sergey Poznyakoff\tSimple MIME"\ | ||
35 | "4: Sergey Poznyakoff\tNested MIME" | ||
36 | |||
37 | mu_exec -retcode 1 -message "frm -l" -arg -l \ | ||
38 | "(Bar) Foo Bar\tJabberwocky"\ | ||
39 | "(Foo Bar) Bar\tRe: Jabberwocky"\ | ||
40 | "(Foo Bar) Sergey Poznyakoff\tSimple MIME"\ | ||
41 | "(Foo Bar) Sergey Poznyakoff\tNested MIME"\ | ||
42 | |||
43 | mu_exec -retcode 1 -message "frm -qS" -arg -qS \ | ||
44 | "You have 4 messages" | ||
45 | |||
46 | mu_exec -retcode 1 -arg %mbox -message "frm %mbox" \ | ||
47 | "Sergey Poznyakoff\tMBOX" | ||
48 | |||
49 | mu_exec -retcode 1 -arg -q -message "frm -q" | ||
50 | |||
51 | mu_exec -arg -q -arg %nonexistent -retcode 2 -message "frm -q %nonexistent" | ||
52 | |||
53 | #end of test.exp | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
from/testsuite/.cvsignore
0 → 100644
from/testsuite/Makefile.am
0 → 100644
1 | AUTOMAKE_OPTIONS = dejagnu | ||
2 | DEJATOOL = from | ||
3 | RUNTESTFLAGS = | ||
4 | CLEANFILES = *.log | ||
5 | test_dirs = from | ||
6 | |||
7 | dist-hook: | ||
8 | here=`cd $(top_builddir)/$(subdir) && pwd`; \ | ||
9 | srcdir=`cd $(srcdir) && pwd`; \ | ||
10 | distdir=`cd $(distdir) && pwd`; \ | ||
11 | for dir in $(test_dirs); \ | ||
12 | do \ | ||
13 | cd $$srcdir;\ | ||
14 | mkdir $$distdir/$$dir;\ | ||
15 | cd $$dir;\ | ||
16 | for file in DISTFILES `cat DISTFILES`; do \ | ||
17 | d=$$srcdir/$$dir; \ | ||
18 | if test -d $$d/$$file; then \ | ||
19 | cp -pr $$d/$$file $$distdir/$$dir/$$file; \ | ||
20 | else \ | ||
21 | test -f $$distdir/$$dir/$$file \ | ||
22 | || cp -p $$d/$$file $$distdir/$$dir/$$file || exit; \ | ||
23 | fi; \ | ||
24 | done;\ | ||
25 | done;\ | ||
26 | cd $$here | ||
27 | |||
28 | site.exp: Makefile remote.exp | ||
29 | @echo 'Making a new site.exp file...' | ||
30 | @test ! -f site.bak || rm -f site.bak | ||
31 | @echo '## these variables are automatically generated by make ##' > $@-t | ||
32 | @echo '# Do not edit here. If you wish to override these values' >> $@-t | ||
33 | @echo '# edit the last section' >> $@-t | ||
34 | @echo 'set tool $(DEJATOOL)' >> $@-t | ||
35 | @echo "set top_srcdir `cd $(top_srcdir); pwd`" >> $@-t | ||
36 | @echo "set srcdir `cd $(srcdir); pwd`" >> $@-t | ||
37 | @echo 'set objdir' `pwd` >> $@-t | ||
38 | @echo 'set host_alias "$(host_alias)"' >> $@-t | ||
39 | @echo 'set host_triplet $(host_triplet)' >> $@-t | ||
40 | @echo 'set target_alias "$(target_alias)"' >> $@-t | ||
41 | @echo 'set target_triplet $(target_triplet)' >> $@-t | ||
42 | @echo 'set build_alias "$(build_alias)"' >> $@-t | ||
43 | @echo 'set build_triplet $(build_triplet)' >> $@-t | ||
44 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | ||
45 | @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t | ||
46 | @test ! -f site.exp || mv site.exp site.bak | ||
47 | @mv $@-t site.exp | ||
48 | |||
49 | remote.exp:; | ||
50 | @echo 'Making a new remote.exp file...' | ||
51 | @test ! -f remote.bak || rm -f remote.bak | ||
52 | @echo '## These variables are used to set up for the remote testing.' >> $@-t | ||
53 | @echo '## Please, read file README in this directory for instructions' >> $@-t | ||
54 | @echo '## on how to use this file' >> $@-t | ||
55 | @echo "set host_board `hostname`" >> $@-t | ||
56 | @echo 'set board_info($$host_board,connect) rlogin' >> $@-t | ||
57 | @echo 'set board_info($$host_board,shell_prompt) "\\$$ "' >> $@-t | ||
58 | @echo "set board_info(\$$host_board,top_srcdir) `cd $(top_srcdir); pwd`" >> $@-t | ||
59 | @echo "set board_info(\$$host_board,srcdir) `cd $(srcdir); pwd`" >> $@-t | ||
60 | @echo "set board_info(\$$host_board,objdir) `pwd`" >> $@-t | ||
61 | @echo "set board_info(\$$host_board,top_srcdir) `cd $(top_srcdir); pwd`" >> $@-t | ||
62 | @echo "set board_info(\$$host_board,top_builddir) `cd $(top_builddir); pwd`" >> $@-t | ||
63 | @test ! -f remote.exp || mv remote.exp remote.bak | ||
64 | @mv $@-t remote.exp | ||
65 | |||
66 | |||
67 | DISTCLEANFILES=*.exp *.log *.sum | ||
68 | |||
69 | distclean-local: | ||
70 | -rm -rf data |
from/testsuite/from/DISTFILES
0 → 100644
1 | test.exp |
from/testsuite/from/test.exp
0 → 100644
1 | # -*- tcl -*- | ||
2 | # This file is part of Mailutils testsuite. | ||
3 | # Copyright (C) 2002, Free Software Foundation | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or modify | ||
6 | # it under the terms of the GNU General Public License as published by | ||
7 | # the Free Software Foundation; either version 2 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | # GNU General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software Foundation, | ||
17 | # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
18 | |||
19 | source $top_srcdir/testsuite/lib/mailutils.exp | ||
20 | |||
21 | mu_init | ||
22 | set env(MAIL) $MU_SPOOL_DIR/mbox1 | ||
23 | |||
24 | mu_prepare_spools | ||
25 | |||
26 | mu_exec -message "from" \ | ||
27 | "Foo Bar\tJabberwocky"\ | ||
28 | "Bar\tRe: Jabberwocky"\ | ||
29 | "Sergey Poznyakoff\tSimple MIME"\ | ||
30 | "Sergey Poznyakoff\tNested MIME" | ||
31 | |||
32 | mu_exec -message "from mbox" -arg %mbox \ | ||
33 | "Sergey Poznyakoff\tMBOX" | ||
34 | |||
35 | #end of test.exp |
messages/testsuite/.cvsignore
0 → 100644
messages/testsuite/Makefile.am
0 → 100644
1 | AUTOMAKE_OPTIONS = dejagnu | ||
2 | DEJATOOL = messages | ||
3 | RUNTESTFLAGS = | ||
4 | CLEANFILES = *.log | ||
5 | test_dirs = messages | ||
6 | |||
7 | dist-hook: | ||
8 | here=`cd $(top_builddir)/$(subdir) && pwd`; \ | ||
9 | srcdir=`cd $(srcdir) && pwd`; \ | ||
10 | distdir=`cd $(distdir) && pwd`; \ | ||
11 | for dir in $(test_dirs); \ | ||
12 | do \ | ||
13 | cd $$srcdir;\ | ||
14 | mkdir $$distdir/$$dir;\ | ||
15 | cd $$dir;\ | ||
16 | for file in DISTFILES `cat DISTFILES`; do \ | ||
17 | d=$$srcdir/$$dir; \ | ||
18 | if test -d $$d/$$file; then \ | ||
19 | cp -pr $$d/$$file $$distdir/$$dir/$$file; \ | ||
20 | else \ | ||
21 | test -f $$distdir/$$dir/$$file \ | ||
22 | || cp -p $$d/$$file $$distdir/$$dir/$$file || exit; \ | ||
23 | fi; \ | ||
24 | done;\ | ||
25 | done;\ | ||
26 | cd $$here | ||
27 | |||
28 | site.exp: Makefile remote.exp | ||
29 | @echo 'Making a new site.exp file...' | ||
30 | @test ! -f site.bak || rm -f site.bak | ||
31 | @echo '## these variables are automatically generated by make ##' > $@-t | ||
32 | @echo '# Do not edit here. If you wish to override these values' >> $@-t | ||
33 | @echo '# edit the last section' >> $@-t | ||
34 | @echo 'set tool $(DEJATOOL)' >> $@-t | ||
35 | @echo "set top_srcdir `cd $(top_srcdir); pwd`" >> $@-t | ||
36 | @echo "set srcdir `cd $(srcdir); pwd`" >> $@-t | ||
37 | @echo 'set objdir' `pwd` >> $@-t | ||
38 | @echo 'set host_alias "$(host_alias)"' >> $@-t | ||
39 | @echo 'set host_triplet $(host_triplet)' >> $@-t | ||
40 | @echo 'set target_alias "$(target_alias)"' >> $@-t | ||
41 | @echo 'set target_triplet $(target_triplet)' >> $@-t | ||
42 | @echo 'set build_alias "$(build_alias)"' >> $@-t | ||
43 | @echo 'set build_triplet $(build_triplet)' >> $@-t | ||
44 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | ||
45 | @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t | ||
46 | @test ! -f site.exp || mv site.exp site.bak | ||
47 | @mv $@-t site.exp | ||
48 | |||
49 | remote.exp:; | ||
50 | @echo 'Making a new remote.exp file...' | ||
51 | @test ! -f remote.bak || rm -f remote.bak | ||
52 | @echo '## These variables are used to set up for the remote testing.' >> $@-t | ||
53 | @echo '## Please, read file README in this directory for instructions' >> $@-t | ||
54 | @echo '## on how to use this file' >> $@-t | ||
55 | @echo "set host_board `hostname`" >> $@-t | ||
56 | @echo 'set board_info($$host_board,connect) rlogin' >> $@-t | ||
57 | @echo 'set board_info($$host_board,shell_prompt) "\\$$ "' >> $@-t | ||
58 | @echo "set board_info(\$$host_board,top_srcdir) `cd $(top_srcdir); pwd`" >> $@-t | ||
59 | @echo "set board_info(\$$host_board,srcdir) `cd $(srcdir); pwd`" >> $@-t | ||
60 | @echo "set board_info(\$$host_board,objdir) `pwd`" >> $@-t | ||
61 | @echo "set board_info(\$$host_board,top_srcdir) `cd $(top_srcdir); pwd`" >> $@-t | ||
62 | @echo "set board_info(\$$host_board,top_builddir) `cd $(top_builddir); pwd`" >> $@-t | ||
63 | @test ! -f remote.exp || mv remote.exp remote.bak | ||
64 | @mv $@-t remote.exp | ||
65 | |||
66 | |||
67 | DISTCLEANFILES=*.exp *.log *.sum | ||
68 | |||
69 | distclean-local: | ||
70 | -rm -rf data |
messages/testsuite/messages/DISTFILES
0 → 100644
1 | test.exp |
messages/testsuite/messages/test.exp
0 → 100644
1 | # -*- tcl -*- | ||
2 | # This file is part of Mailutils testsuite. | ||
3 | # Copyright (C) 2002, Free Software Foundation | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or modify | ||
6 | # it under the terms of the GNU General Public License as published by | ||
7 | # the Free Software Foundation; either version 2 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | # GNU General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software Foundation, | ||
17 | # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
18 | |||
19 | source $top_srcdir/testsuite/lib/mailutils.exp | ||
20 | |||
21 | mu_init | ||
22 | set env(MAIL) $MU_SPOOL_DIR/mbox1 | ||
23 | |||
24 | mu_prepare_spools | ||
25 | |||
26 | mu_exec -message "messages" \ | ||
27 | "Number of messages in $MU_SPOOL_DIR/mbox1: 4" | ||
28 | |||
29 | mu_exec -message "messages -q" -arg -q "4" | ||
30 | |||
31 | mu_exec -message "messages %teaparty.mbox" -arg %teaparty.mbox \ | ||
32 | "Number of messages in $MU_SPOOL_DIR/teaparty.mbox: 95" | ||
33 | |||
34 | #end of test.exp | ||
35 | |||
... | \ No newline at end of file | ... | \ No newline at end of file |
readmsg/testsuite/.cvsignore
0 → 100644
readmsg/testsuite/Makefile.am
0 → 100644
1 | AUTOMAKE_OPTIONS = dejagnu | ||
2 | DEJATOOL = readmsg | ||
3 | RUNTESTFLAGS = | ||
4 | CLEANFILES = *.log | ||
5 | test_dirs = readmsg | ||
6 | |||
7 | dist-hook: | ||
8 | here=`cd $(top_builddir)/$(subdir) && pwd`; \ | ||
9 | srcdir=`cd $(srcdir) && pwd`; \ | ||
10 | distdir=`cd $(distdir) && pwd`; \ | ||
11 | for dir in $(test_dirs); \ | ||
12 | do \ | ||
13 | cd $$srcdir;\ | ||
14 | mkdir $$distdir/$$dir;\ | ||
15 | cd $$dir;\ | ||
16 | for file in DISTFILES `cat DISTFILES`; do \ | ||
17 | d=$$srcdir/$$dir; \ | ||
18 | if test -d $$d/$$file; then \ | ||
19 | cp -pr $$d/$$file $$distdir/$$dir/$$file; \ | ||
20 | else \ | ||
21 | test -f $$distdir/$$dir/$$file \ | ||
22 | || cp -p $$d/$$file $$distdir/$$dir/$$file || exit; \ | ||
23 | fi; \ | ||
24 | done;\ | ||
25 | done;\ | ||
26 | cd $$here | ||
27 | |||
28 | site.exp: Makefile remote.exp | ||
29 | @echo 'Making a new site.exp file...' | ||
30 | @test ! -f site.bak || rm -f site.bak | ||
31 | @echo '## these variables are automatically generated by make ##' > $@-t | ||
32 | @echo '# Do not edit here. If you wish to override these values' >> $@-t | ||
33 | @echo '# edit the last section' >> $@-t | ||
34 | @echo 'set tool $(DEJATOOL)' >> $@-t | ||
35 | @echo "set top_srcdir `cd $(top_srcdir); pwd`" >> $@-t | ||
36 | @echo "set srcdir `cd $(srcdir); pwd`" >> $@-t | ||
37 | @echo 'set objdir' `pwd` >> $@-t | ||
38 | @echo 'set host_alias "$(host_alias)"' >> $@-t | ||
39 | @echo 'set host_triplet $(host_triplet)' >> $@-t | ||
40 | @echo 'set target_alias "$(target_alias)"' >> $@-t | ||
41 | @echo 'set target_triplet $(target_triplet)' >> $@-t | ||
42 | @echo 'set build_alias "$(build_alias)"' >> $@-t | ||
43 | @echo 'set build_triplet $(build_triplet)' >> $@-t | ||
44 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | ||
45 | @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t | ||
46 | @test ! -f site.exp || mv site.exp site.bak | ||
47 | @mv $@-t site.exp | ||
48 | |||
49 | remote.exp:; | ||
50 | @echo 'Making a new remote.exp file...' | ||
51 | @test ! -f remote.bak || rm -f remote.bak | ||
52 | @echo '## These variables are used to set up for the remote testing.' >> $@-t | ||
53 | @echo '## Please, read file README in this directory for instructions' >> $@-t | ||
54 | @echo '## on how to use this file' >> $@-t | ||
55 | @echo "set host_board `hostname`" >> $@-t | ||
56 | @echo 'set board_info($$host_board,connect) rlogin' >> $@-t | ||
57 | @echo 'set board_info($$host_board,shell_prompt) "\\$$ "' >> $@-t | ||
58 | @echo "set board_info(\$$host_board,top_srcdir) `cd $(top_srcdir); pwd`" >> $@-t | ||
59 | @echo "set board_info(\$$host_board,srcdir) `cd $(srcdir); pwd`" >> $@-t | ||
60 | @echo "set board_info(\$$host_board,objdir) `pwd`" >> $@-t | ||
61 | @echo "set board_info(\$$host_board,top_srcdir) `cd $(top_srcdir); pwd`" >> $@-t | ||
62 | @echo "set board_info(\$$host_board,top_builddir) `cd $(top_builddir); pwd`" >> $@-t | ||
63 | @test ! -f remote.exp || mv remote.exp remote.bak | ||
64 | @mv $@-t remote.exp | ||
65 | |||
66 | |||
67 | DISTCLEANFILES=*.exp *.log *.sum | ||
68 | |||
69 | distclean-local: | ||
70 | -rm -rf data |
readmsg/testsuite/readmsg/DISTFILES
0 → 100644
1 | test.exp |
readmsg/testsuite/readmsg/test.exp
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment