fix: verify piped git:auth password via netrc get
This commit is contained in:
1 file changed
+2
-2
@@ -100,11 +100,11 @@ teardown() {
|
|||||||
assert_success
|
assert_success
|
||||||
assert_output_contains "Setting netrc auth entry for host github.com"
|
assert_output_contains "Setting netrc auth entry for host github.com"
|
||||||
|
|
||||||
run /bin/bash -c "grep piped-username /home/dokku/.netrc"
|
run /bin/bash -c "netrc get github.com"
|
||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
echo "status: $status"
|
echo "status: $status"
|
||||||
assert_success
|
assert_success
|
||||||
assert_output_contains "piped-password"
|
assert_output_contains "piped-username:piped-password"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "(git) git:auth-status" {
|
@test "(git) git:auth-status" {
|
||||||
|
|||||||
Reference in new issue
Block a user