diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/completion.exp | 2 | ||||
-rw-r--r-- | test/lib/library.exp | 4 | ||||
-rw-r--r-- | test/lib/unit.exp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/lib/completion.exp b/test/lib/completion.exp index b7563af6..88e92d50 100644 --- a/test/lib/completion.exp +++ b/test/lib/completion.exp @@ -1,4 +1,4 @@ -source ${srcdir}/lib/library.exp +source $::srcdir/lib/library.exp proc completion_exit {} { diff --git a/test/lib/library.exp b/test/lib/library.exp index bc5de50b..c69aa2bb 100644 --- a/test/lib/library.exp +++ b/test/lib/library.exp @@ -858,8 +858,8 @@ proc start_bash {} { set TESTDIR [pwd] # If `--tool_exec' option not specified, use "bash" if {! [info exists TOOL_EXECUTABLE]} {set TOOL_EXECUTABLE bash} - exp_spawn $TOOL_EXECUTABLE --rcfile config/bashrc - assert_bash_exec {} "$TOOL_EXECUTABLE --rcfile config/bashrc" + exp_spawn $TOOL_EXECUTABLE --rcfile $::srcdir/config/bashrc + assert_bash_exec {} "$TOOL_EXECUTABLE --rcfile $::srcdir/config/bashrc" # Bash < 3.2.41 has a bug where 'history' disappears from SHELLOPTS # whenever a shopt setting is sourced or eval'ed. Disabling 'history' # makes it not show in tests "Environment should not be modified" diff --git a/test/lib/unit.exp b/test/lib/unit.exp index 935997b6..e113e1b5 100644 --- a/test/lib/unit.exp +++ b/test/lib/unit.exp @@ -1,4 +1,4 @@ -source lib/library.exp +source $::srcdir/lib/library.exp proc unit_exit {} { |