Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
test-lib: do not remove trash_directory if called with --debug
[gitweb.git]
/
t
/
t7103-reset-bare.sh
diff --git
a/t/t7103-reset-bare.sh
b/t/t7103-reset-bare.sh
index b25a77f910fcdd589775ce901bdf878c23677dd4..cdecebe456c7a9cf30465b112a24ce7bcf76f344 100755
(executable)
--- a/
t/t7103-reset-bare.sh
+++ b/
t/t7103-reset-bare.sh
@@
-17,7
+17,7
@@
test_expect_success 'setup bare' '
'
test_expect_success 'hard reset is not allowed' '
-
!
git reset --hard HEAD^
+
test_must_fail
git reset --hard HEAD^
'
test_expect_success 'soft reset is allowed' '