mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
package: remove a lot more unused AT&T cruft
This reduces the bin/package script by more than half!
bin/package, src/cmd/INIT/package.sh:
- Remove obsolete and unused package commands: admin, contents,
license, list, remote, regress, setup, update, verify, write.
- Remove associated documentation.
- Replace install command with a dummy. It'll come back when we
reintroduce the building of dynamic libaries.
- Update the test command to run the regression tests properly
and capture the output in arch/*/lib/package/gen/tests.out, as
documented. Arguments are simply passed to bin/shtests.
src/cmd/INIT/{ditto.sh,hurl.sh,release.c}:
- Removed. These were support scripts for some of the removed
package commands.
src/cmd/ksh93/tests/pty.sh:
- Avoid failure when capturing output via 'bin/package test' by
redirecting standard error to /dev/tty when running the tests.
This commit is contained in:
parent
61fa1b68bf
commit
6137b99a6b
7 changed files with 100 additions and 8282 deletions
|
|
@ -45,7 +45,7 @@ esac
|
|||
# To avoid false regressions, we have to set 'erase' and 'kill' on the real terminal.
|
||||
if test -t 0 2>/dev/null </dev/tty && stty_restore=$(stty -g </dev/tty)
|
||||
then trap 'stty "$stty_restore" </dev/tty' EXIT # note: on ksh, the EXIT trap is also triggered for termination due to a signal
|
||||
stty erase ^H kill ^X
|
||||
stty erase ^H kill ^X </dev/tty >/dev/tty 2>&1
|
||||
else warning "cannot set tty state -- tests skipped"
|
||||
exit 0
|
||||
fi
|
||||
|
|
@ -75,7 +75,7 @@ function tst
|
|||
integer lineno=$1 offset
|
||||
typeset text
|
||||
|
||||
pty $debug --dialogue --messages='/dev/fd/1' $SHELL |
|
||||
pty $debug --dialogue --messages='/dev/fd/1' 2>/dev/tty $SHELL |
|
||||
while read -r text
|
||||
do if [[ $text == *debug* ]]
|
||||
then print -u2 -r -- "$text"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue