Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t1400: rename test descriptions to be unique
author
Kyle Meyer
<kyle@kyleam.com>
Tue, 21 Mar 2017 00:56:12 +0000
(20:56 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 21 Mar 2017 17:50:16 +0000
(10:50 -0700)
A few tests share their description with another test. Extend the
descriptions to indicate how the tests differ.
Signed-off-by: Kyle Meyer <kyle@kyleam.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1400-update-ref.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
c0f9c70
)
diff --git
a/t/t1400-update-ref.sh
b/t/t1400-update-ref.sh
index 825422341de5d80247d4a2ac689d6fc799f9a9a0..fde5b98af62370460b262ba91086a68788e0469b 100755
(executable)
--- a/
t/t1400-update-ref.sh
+++ b/
t/t1400-update-ref.sh
@@
-40,7
+40,7
@@
test_expect_success \
"git update-ref $m $A &&
test $A"' = $(cat .git/'"$m"')'
test_expect_success \
"git update-ref $m $A &&
test $A"' = $(cat .git/'"$m"')'
test_expect_success \
- "create $m" \
+ "create $m
with oldvalue verification
" \
"git update-ref $m $B $A &&
test $B"' = $(cat .git/'"$m"')'
test_expect_success "fail to delete $m with stale ref" '
"git update-ref $m $B $A &&
test $B"' = $(cat .git/'"$m"')'
test_expect_success "fail to delete $m with stale ref" '
@@
-72,7
+72,7
@@
test_expect_success \
"git update-ref HEAD $A &&
test $A"' = $(cat .git/'"$m"')'
test_expect_success \
"git update-ref HEAD $A &&
test $A"' = $(cat .git/'"$m"')'
test_expect_success \
- "create $m (by HEAD)" \
+ "create $m (by HEAD)
with oldvalue verification
" \
"git update-ref HEAD $B $A &&
test $B"' = $(cat .git/'"$m"')'
test_expect_success "fail to delete $m (by HEAD) with stale ref" '
"git update-ref HEAD $B $A &&
test $B"' = $(cat .git/'"$m"')'
test_expect_success "fail to delete $m (by HEAD) with stale ref" '
@@
-307,7
+307,7
@@
$A $B $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150260 +0000 Switch
$B $A $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150860 +0000
EOF
test_expect_success \
$B $A $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150860 +0000
EOF
test_expect_success \
- "verifying $m's log" \
+ "verifying $m's log
(logged by touch)
" \
"test_cmp expect .git/logs/$m"
rm -rf .git/$m .git/logs expect
"test_cmp expect .git/logs/$m"
rm -rf .git/$m .git/logs expect
@@
-338,7
+338,7
@@
$A $B $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150380 +0000 Switch
$B $A $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150980 +0000
EOF
test_expect_success \
$B $A $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150980 +0000
EOF
test_expect_success \
- "verifying $m's log" \
+ "verifying $m's log
(logged by config)
" \
'test_cmp expect .git/logs/$m'
rm -f .git/$m .git/logs/$m expect
'test_cmp expect .git/logs/$m'
rm -f .git/$m .git/logs/$m expect