Skip to content

Commit 6fdb2e3

Browse files
committed
more global test header cleanup
1 parent adbfd8b commit 6fdb2e3

26 files changed

+4
-52
lines changed

tests/setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Setup globals used by the tests
22

3+
#set -x
4+
35
tmplocation=${TMPDIR:-/tmp}
46

57
export WORKON_HOME="$(echo ${tmplocation}/WORKON_HOME.$$ | sed 's|//|/|g')"
68
export PROJECT_HOME="$(echo ${tmplocation}/PROJECT_HOME.$$ | sed 's|//|/|g')"
9+
10+
#unset HOOK_VERBOSE_OPTION

tests/test.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75

tests/test_add2virtualenv.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75

tests/test_cd.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75

tests/test_cp.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75

tests/test_deactivate.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75

tests/test_derive_workon_home.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75
TMP_WORKON_HOME="$WORKON_HOME"

tests/test_dir_stack.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75

8-
#unset HOOK_VERBOSE_OPTION
9-
106
oneTimeSetUp() {
117
test_begin_dir=$(pwd)
128
}

tests/test_hook_dir.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75

tests/test_log_dir.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

3-
#set -x
4-
53
test_dir=$(cd $(dirname $0) && pwd)
64
source "$test_dir/setup.sh"
75

0 commit comments

Comments
 (0)