summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-10-29 14:19:48 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:12 +0100
commitc0f34f63b9da18e135bac9f5ad7c57552279cf38 (patch)
treebf005c953c5d01dbdc95ef129d04352ffc15a1ec
parent709cabfe384362577d53b36817c70001fe9895af (diff)
Testing: add testing auxiliary program; use testing to generate null
character on the fly (since it's a nuisance having a literal null character in trip.rc); reset sigexit in `fn fail'; add test for nonblocking input file descriptor.
-rw-r--r--Makefile.am6
-rw-r--r--trip.rcbin14918 -> 15160 bytes
2 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index fa91eda..51c367d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,7 @@ SYSTEM = system.o
endif
bin_PROGRAMS = rc
-noinst_PROGRAMS = mksignal $(HISTORY)
+noinst_PROGRAMS = mksignal tripping $(HISTORY)
rc_SOURCES = builtins.c except.c exec.c fn.c footobar.c getopt.c glob.c glom.c hash.c heredoc.c input.c lex.c list.c main.c match.c nalloc.c open.c parse.c print.c redir.c signal.c status.c tree.c utils.c var.c wait.c walk.c which.c
@@ -35,8 +35,6 @@ EXTRA_rc_SOURCES = addon.c execve.c readline.c system.c system-bsd.c
rc_DEPENDENCIES = sigmsgs.o $(ADDON) $(EXECVE) $(READLINE) $(SYSTEM)
rc_LDADD = sigmsgs.o $(ADDON) $(EXECVE) $(READLINE) $(SYSTEM)
-mksignal_SOURCES = mksignal.c
-
noinst_HEADERS = getgroups.h jbwrap.h parse.h proto.h rc.h rlimit.h wait.h
BUILT_SOURCES = sigmsgs.c
@@ -56,7 +54,7 @@ sigmsgs.c sigmsgs.h: mksignal
# mv y.tab.c parse.c
# mv y.tab.h parse.h
-trip: rc
+trip: rc tripping
./rc -p < $(srcdir)/trip.rc
install-exec-hook:
diff --git a/trip.rc b/trip.rc
index 273ba09..4f78636 100644
--- a/trip.rc
+++ b/trip.rc
Binary files differ