diff options
Diffstat (limited to 'test/config/bashrc')
-rw-r--r-- | test/config/bashrc | 12 |
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 |