File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ test_description='revert can handle submodules'
14
14
git_revert () {
15
15
git status -su > expect &&
16
16
ls -1pR * >> expect &&
17
- tar cf " $TRASH_DIRECTORY /tmp.tar" * &&
17
+ " $TAR " cf " $TRASH_DIRECTORY /tmp.tar" * &&
18
18
may_only_be_test_must_fail " $2 " &&
19
19
$2 git checkout " $1 " &&
20
20
if test -n " $2 "
@@ -23,7 +23,7 @@ git_revert () {
23
23
fi &&
24
24
git revert HEAD &&
25
25
rm -rf * &&
26
- tar xf " $TRASH_DIRECTORY /tmp.tar" &&
26
+ " $TAR " xf " $TRASH_DIRECTORY /tmp.tar" &&
27
27
git status -su > actual &&
28
28
ls -1pR * >> actual &&
29
29
test_cmp expect actual &&
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ test_description='bisect can handle submodules'
8
8
git_bisect () {
9
9
git status -su > expect &&
10
10
ls -1pR * >> expect &&
11
- tar cf " $TRASH_DIRECTORY /tmp.tar" * &&
11
+ " $TAR " cf " $TRASH_DIRECTORY /tmp.tar" * &&
12
12
GOOD=$( git rev-parse --verify HEAD) &&
13
13
may_only_be_test_must_fail " $2 " &&
14
14
$2 git checkout " $1 " &&
@@ -25,7 +25,7 @@ git_bisect () {
25
25
git bisect start &&
26
26
git bisect good $GOOD &&
27
27
rm -rf * &&
28
- tar xf " $TRASH_DIRECTORY /tmp.tar" &&
28
+ " $TAR " xf " $TRASH_DIRECTORY /tmp.tar" &&
29
29
git status -su > actual &&
30
30
ls -1pR * >> actual &&
31
31
test_cmp expect actual &&
You can’t perform that action at this time.
0 commit comments