Split password test to 2 - right and wrong passwd
This commit is contained in:
parent
a4b3b3ff08
commit
00d81fd3f9
12
test_e2e.sh
12
test_e2e.sh
|
|
@ -1004,9 +1004,9 @@ function e2e::fetch_skip_depth_1() {
|
|||
}
|
||||
|
||||
##############################################
|
||||
# Test password
|
||||
# Test password auth with the wrong password
|
||||
##############################################
|
||||
function e2e::password() {
|
||||
function e2e::password_wrong_password() {
|
||||
echo "$FUNCNAME 1" > "$REPO"/file
|
||||
git -C "$REPO" commit -qam "$FUNCNAME 1"
|
||||
|
||||
|
|
@ -1025,6 +1025,14 @@ function e2e::password() {
|
|||
|
||||
# check for failure
|
||||
assert_file_absent "$ROOT"/link/file
|
||||
}
|
||||
|
||||
##############################################
|
||||
# Test password auth with the correct password
|
||||
##############################################
|
||||
function e2e::password_correct_password() {
|
||||
echo "$FUNCNAME 1" > "$REPO"/file
|
||||
git -C "$REPO" commit -qam "$FUNCNAME 1"
|
||||
|
||||
# run with askpass_git with correct password
|
||||
GIT_SYNC \
|
||||
|
|
|
|||
Loading…
Reference in New Issue