summaryrefslogtreecommitdiff
path: root/test/config
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-03-18 12:02:11 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-03-18 12:02:11 -0300
commit9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (patch)
tree6399b936aecc388506ec32cfc10fdb06cfc1949f /test/config
parent6d88f1055806932d9291f96847d2b691cccda2cd (diff)
downloadbash-completion-9cd22d1df8f0f5b554858471c86faa9f37b8fed4.tar.gz
New upstream version 2.8upstream/2.8
Diffstat (limited to 'test/config')
-rw-r--r--test/config/bashrc12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/config/bashrc b/test/config/bashrc
index d16c9033..69098e14 100644
--- a/test/config/bashrc
+++ b/test/config/bashrc
@@ -1,5 +1,8 @@
# bashrc file for DejaGnu testsuite
+# Note that we do some initialization that would be too late to do here in
+# library.exp's start_bash().
+
# Use emacs key bindings
set -o emacs
# Use bash strict mode
@@ -7,17 +10,8 @@ set -o posix
# Unset `command_not_found_handle' as defined on Debian/Ubuntu, because this
# troubles and slows down testing
unset -f command_not_found_handle
- # Set fixed prompt `/@'
TESTDIR=$(pwd)
-export PS1='/@'
export PS2='> '
- # Configure readline
-export INPUTRC=$SRCDIR/config/inputrc
- # When not running via cron, avoid escape junk at beginning of line from
- # readline, see e.g. http://bugs.gentoo.org/246091
-[ "$CRON" ] || export TERM=dumb
- # Ensure enough columns so expect doesn't have to care about line breaks
-stty columns 150
# Also test completions of system administrator commands, which are
# installed via the same PATH expansion in `bash_completion.have()'
export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin