##// END OF EJS Templates
subrepo: use unset instead of env -u to fix test on BSDs (issue5229)
Kevin Bullock -
r29135:3879d02c default
parent child Browse files
Show More
@@ -1145,7 +1145,8 test for Git CVE-2016-3068
1145 $ hg add .hgsub
1145 $ hg add .hgsub
1146 $ hg commit -m "add subrepo"
1146 $ hg commit -m "add subrepo"
1147 $ cd ..
1147 $ cd ..
1148 $ env -u GIT_ALLOW_PROTOCOL hg clone malicious-subrepository malicious-subrepository-protected
1148 $ unset GIT_ALLOW_PROTOCOL
1149 $ hg clone malicious-subrepository malicious-subrepository-protected
1149 Cloning into '$TESTTMP/tc/malicious-subrepository-protected/s'... (glob)
1150 Cloning into '$TESTTMP/tc/malicious-subrepository-protected/s'... (glob)
1150 fatal: transport 'ext' not allowed
1151 fatal: transport 'ext' not allowed
1151 updating to branch default
1152 updating to branch default
General Comments 0
You need to be logged in to leave comments. Login now