summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-02-09 04:44:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-09 04:44:52 (GMT)
commit0be2f36fdf1cb83b70703fd3a91483f2568d3a2e (patch)
tree26e2c412a6de9ccaba460e88d37f303f0a4860c6 /t
parentb966813e716504252ea26a635db21aa628e3dbd8 (diff)
parent3f360ded54f57476ab66bb2ae8294d05a4bb1ede (diff)
downloadgit-0be2f36fdf1cb83b70703fd3a91483f2568d3a2e.zip
git-0be2f36fdf1cb83b70703fd3a91483f2568d3a2e.tar.gz
git-0be2f36fdf1cb83b70703fd3a91483f2568d3a2e.tar.bz2
Merge branch 'ld/git-p4-remove-flakey-test'
A flakey "p4" test has been removed. * ld/git-p4-remove-flakey-test: git-p4: remove ticket expiry test
Diffstat (limited to 't')
-rwxr-xr-xt/t9833-errors.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/t/t9833-errors.sh b/t/t9833-errors.sh
index 277d347..47b312e 100755
--- a/t/t9833-errors.sh
+++ b/t/t9833-errors.sh
@@ -45,33 +45,6 @@ test_expect_success 'ticket logged out' '
)
'
-test_expect_success 'create group with short ticket expiry' '
- P4TICKETS="$cli/tickets" &&
- echo "newpassword" | p4 login &&
- p4_add_user short_expiry_user &&
- p4 -u short_expiry_user passwd -P password &&
- p4 group -i <<-EOF &&
- Group: testgroup
- Timeout: 3
- Users: short_expiry_user
- EOF
-
- p4 users | grep short_expiry_user
-'
-
-test_expect_success 'git operation with expired ticket' '
- P4TICKETS="$cli/tickets" &&
- P4USER=short_expiry_user &&
- echo "password" | p4 login &&
- (
- cd "$git" &&
- git p4 sync &&
- sleep 5 &&
- test_must_fail git p4 sync 2>errmsg &&
- grep "failure accessing depot" errmsg
- )
-'
-
test_expect_success 'kill p4d' '
kill_p4d
'