Debian Codegraph @

debian/patches/0001-disable-failing-tests.patch

raw symbols SCIP
1 Descriptionscip-debian debian golang-github-msteinert-pam 2.1.0-1 golang-github-msteinert-pam/patches/`0001-disable-failing-tests.patch`#Description.: Disable tests failing in Debian build context
2 Authorscip-debian debian golang-github-msteinert-pam 2.1.0-1 golang-github-msteinert-pam/patches/`0001-disable-failing-tests.patch`#Author.: Taavi Väänänen <[email protected]scip-debian . . . identity/`[email protected]`.>
3 Forwardedscip-debian debian golang-github-msteinert-pam 2.1.0-1 golang-github-msteinert-pam/patches/`0001-disable-failing-tests.patch`#Forwarded.: not-needed
4 ---
5 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
6 --- a/transaction_test.goscip-debian debian golang-github-msteinert-pam 2.1.0-1 golang-github-msteinert-pam/upstream/`transaction_test.go`:
7 +++ b/transaction_test.goscip-debian debian golang-github-msteinert-pam 2.1.0-1 golang-github-msteinert-pam/upstream/`transaction_test.go`:
8 @@ -223,6 +223,7 @@
9 }
10
11 func TestPAM_ConfDir(t *testing.T) {
12 + t.Skip("Fails to run in Debian package build context")
13 u, _ := user.Current()
14 c := Credentials{
15 // the custom service always permits even with wrong password.
16 @@ -286,6 +287,7 @@
17 }
18
19 func TestPAM_ConfDir_InfoMessage(t *testing.T) {
20 + t.Skip("Fails to run in Debian package build context")
21 u, _ := user.Current()
22 var infoText string
23 tx, err := StartConfDir("echo-service", u.Username,
24 @@ -326,6 +328,7 @@
25 }
26
27 func TestPAM_ConfDir_Deny(t *testing.T) {
28 + t.Skip("Fails to run in Debian package build context")
29 if !CheckPamHasStartConfdir() {
30 t.Skip("this requires PAM with Conf dir support")
31 }
32 @@ -357,6 +360,7 @@
33 }
34
35 func TestPAM_ConfDir_PromptForUserName(t *testing.T) {
36 + t.Skip("Fails to run in Debian package build context")
37 c := Credentials{
38 User: "testuser",
39 // the custom service only cares about correct user name.
40 @@ -382,6 +386,7 @@
41 }
42
43 func TestPAM_ConfDir_WrongUserName(t *testing.T) {
44 + t.Skip("Fails to run in Debian package build context")
45 c := Credentials{
46 User: "wronguser",
47 Password: "wrongsecret",
48 @@ -637,6 +642,7 @@
49 }
50
51 func Test_Finalizer(t *testing.T) {
52 + t.Skip("Fails to run in Debian package build context")
53 if !CheckPamHasStartConfdir() {
54 t.Skip("this requires PAM with Conf dir support")
55 }