aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/11-git.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/11-git.t b/t/11-git.t
index 00f4299..cc75e31 100755
--- a/t/11-git.t
+++ b/t/11-git.t
@@ -54,7 +54,7 @@ cleanup();
# initialise repo
capture_merged { system(<<"END"); };
-cd $RealBin; rm -rf gitrepo; mkdir gitrepo; cd gitrepo;
+cd "$RealBin"; rm -rf gitrepo; mkdir gitrepo; cd gitrepo;
git init;
echo "echo Hello" > test; git add test; git commit -m 'initial';
git checkout -b b1; echo 'echo "Hello World."' > test; git commit -am 'branch commit';
@@ -68,7 +68,7 @@ script (qw/ sbosnap fetch /, { expected => qr!Pulling SlackBuilds tree.*Cloning
# make a conflict
capture_merged { system(<<"END"); };
-cd $RealBin; cd gitrepo; git reset --hard b1
+cd "$RealBin"; cd gitrepo; git reset --hard b1
END
# 2: sbosnap update through merge conflict