sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 6caeb18c60aac9ad18d9633e517aa720d136311f
parent f1ae759f2000978c28efed057ae7697fcaeb92a1
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Sat, 20 Feb 2016 02:22:40 +0100

Quote $RealBin in t/11-git.t when shelling out

Diffstat:
Mt/11-git.t | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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