tests: add a special setup where prerequisites fail
[gitweb.git] / t / t9833-errors.sh
index 277d34701201af03d0efbcfe05336b6cfec5483b..e22369ccdf5f15840546269d0cdef9e8a54ce698 100755 (executable)
@@ -45,36 +45,4 @@ 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
-'
-
-
 test_done