Skip to content

Commit

Permalink
update golen test files
Browse files Browse the repository at this point in the history
  • Loading branch information
shiv-tyagi committed Nov 30, 2024
1 parent e674f21 commit de66860
Show file tree
Hide file tree
Showing 28 changed files with 91 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
- name: group1
gid: 11111
ugid: ""
users:
- user1
- name: group2
gid: 22222
ugid: ""
users:
- user2
- name: group3
gid: 33333
ugid: ""
users:
- user3
- name: commongroup
gid: 99999
ugid: ""
users:
- user2
- user3
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
- name: group1
gid: 11111
ugid: ""
users:
- user1
- name: group2
gid: 22222
ugid: ""
users:
- user2
- name: group3
gid: 33333
ugid: ""
users:
- user3
- name: group4
gid: 44444
ugid: ""
users:
- userwithoutbroker
- name: commongroup
gid: 99999
ugid: ""
users:
- user2
- user3
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- name: group1
gid: 11111
ugid: ""
users:
- user1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
GroupByID: {}
GroupByName: {}
GroupByUGID: {}
GroupToUsers: {}
UserByID: {}
UserByName: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ GroupByName:
group2: '{"Name":"group2","GID":22222}'
group3: '{"Name":"group3","GID":33333}'
group4: '{"Name":"group4","GID":44444}'
GroupByUGID: {}
GroupToUsers:
"22222": '{"GID":22222,"UIDs":[2222]}'
"33333": '{"GID":33333,"UIDs":[3333]}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: group1
gid: 11111
ugid: ""
users:
- user1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: group1
gid: 11111
ugid: ""
users:
- user1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
GroupByID: {}
GroupByName: {}
GroupByUGID: {}
GroupToUsers: {}
UserByID:
"1111": '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"AAAAATIME"}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
GroupByID: {}
GroupByName: {}
GroupByUGID: {}
GroupToUsers: {}
UserByID: {}
UserByName: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ GroupByName:
group2: '{"Name":"group2","GID":22222}'
group3: '{"Name":"group3","GID":33333}'
group4: '{"Name":"group4","GID":44444}'
GroupByUGID: {}
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
"22222": '{"GID":22222,"UIDs":[2222]}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
GroupByID: {}
GroupByName: {}
GroupByUGID: {}
GroupToUsers: {}
UserByID: {}
UserByName: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"22222": '{"Name":"group2","GID":22222}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
"22222": '{"Name":"group2","GID":22222,"UGID":"56781234"}'
"33333": '{"Name":"group3","GID":33333}'
"44444": '{"Name":"group4","GID":44444}'
"99999": '{"Name":"commongroup","GID":99999}'
GroupByName:
commongroup: '{"Name":"commongroup","GID":99999}'
group1: '{"Name":"group1","GID":11111}'
group2: '{"Name":"group2","GID":22222}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
group2: '{"Name":"group2","GID":22222,"UGID":"56781234"}'
group3: '{"Name":"group3","GID":33333}'
group4: '{"Name":"group4","GID":44444}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
"56781234": '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
"22222": '{"GID":22222,"UIDs":[2222,1111]}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
"22222": '"not-a-valid-json"'
"33333": '"not-a-valid-json"'
"99999": '"not-a-valid-json"'
GroupByName:
commongroup: '"not-a-valid-json"'
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
group2: '"not-a-valid-json"'
group3: '"not-a-valid-json"'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
"22222": '"not-a-valid-json"'
"33333": '"not-a-valid-json"'
"99999": '"not-a-valid-json"'
UserByID:
"1111": '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"ABCDETIME"}'
"1111": '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"2024-11-30T23:41:46.{{CURRENT_UID}}238+05:30"}'
"2222": '"not-a-valid-json"'
"3333": '"not-a-valid-json"'
UserByName:
user1: '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"ABCDETIME"}'
user1: '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"2024-11-30T23:41:46.{{CURRENT_UID}}238+05:30"}'
user2: '"not-a-valid-json"'
user3: '"not-a-valid-json"'
UserToBroker:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"22222": '{"Name":"group2","GID":22222}'
"22222": '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupByName:
group2: '{"Name":"group2","GID":22222}'
group2: '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupByUGID:
"56781234": '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupToUsers:
"22222": '{"GID":22222,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"22222": '{"Name":"group2","GID":22222}'
"33333": '{"Name":"group3","GID":33333}'
"33333": '{"Name":"group3","GID":33333,"UGID":"34567812"}'
"44444": '{"Name":"group4","GID":44444}'
"99999": '{"Name":"commongroup","GID":99999}'
GroupByName:
commongroup: '{"Name":"commongroup","GID":99999}'
group1: '{"Name":"group1","GID":11111}'
group2: '{"Name":"group2","GID":22222}'
group3: '{"Name":"group3","GID":33333}'
group3: '{"Name":"group3","GID":33333,"UGID":"34567812"}'
group4: '{"Name":"group4","GID":44444}'
GroupByUGID:
"34567812": '{"Name":"group3","GID":33333,"UGID":"34567812"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
"22222": '{"GID":22222,"UIDs":[2222]}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
"22222": '{"Name":"group2","GID":22222}'
"33333": '{"Name":"group3","GID":33333}'
"44444": '{"Name":"group4","GID":44444}'
"99999": '{"Name":"commongroup","GID":99999}'
GroupByName:
commongroup: '{"Name":"commongroup","GID":99999}'
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
group2: '{"Name":"group2","GID":22222}'
group3: '{"Name":"group3","GID":33333}'
group4: '{"Name":"group4","GID":44444}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
"22222": '{"GID":22222,"UIDs":[2222]}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"22222": '{"Name":"group2","GID":22222}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
"22222": '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group2: '{"Name":"group2","GID":22222}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
group2: '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
"56781234": '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
"22222": '{"GID":22222,"UIDs":[1111]}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"22222": '{"Name":"group2","GID":22222}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
"22222": '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group2: '{"Name":"group2","GID":22222}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
group2: '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
"56781234": '{"Name":"group2","GID":22222,"UGID":"56781234"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
"22222": '{"GID":22222,"UIDs":[1111]}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GroupByID:
"11111": '{"Name":"group1","GID":11111}'
"11111": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByName:
group1: '{"Name":"group1","GID":11111}'
group1: '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupByUGID:
"12345678": '{"Name":"group1","GID":11111,"UGID":"12345678"}'
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
UserByID:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
GroupByID: {}
GroupByName: {}
GroupByUGID: {}
GroupToUsers: {}
UserByID:
"1111": '{"Name":"user1","UID":1111,"GID":11111,"Gecos":"User1 gecos\nOn multiple lines","Dir":"/home/user1","Shell":"/bin/bash","LastPwdChange":-1,"MaxPwdAge":-1,"PwdWarnPeriod":-1,"PwdInactivity":-1,"MinPwdAge":-1,"ExpirationDate":-1,"LastLogin":"AAAAATIME"}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ GroupByName:
group2: '{"Name":"group2","GID":22222}'
group3: '{"Name":"group3","GID":33333}'
group4: '{"Name":"group4","GID":44444}'
GroupByUGID: {}
GroupToUsers:
"11111": '{"GID":11111,"UIDs":[1111]}'
"22222": '{"GID":22222,"UIDs":[2222]}'
Expand Down

0 comments on commit de66860

Please sign in to comment.