Commit Graph

23 Commits

Author SHA1 Message Date
66225ad5f5
Update test_pgls.rb 2023-08-10 14:04:25 +06:00
4a8ae49426
Rename test_pg_ldap_sync.rb to test_pgls.rb 2023-08-09 17:36:22 +06:00
Lars Kanis
81473fb2b4 Re-add support for attribute ranges
This is an alternative implementation of #37 .
It doesn't need additional configuration, but enables range retrieval automatic.
It also add some testing.

Fixes #32
2022-12-01 15:27:40 +01:00
Lars Kanis
791f9dc72c Fix memberships of bothcase-users
Only one of both users was recognized as a member of the LDAP group.
2022-01-17 16:05:51 +01:00
Lars Kanis
d8ea157c66 Add config option :bothcase_name 2022-01-17 14:48:49 +01:00
Lars Kanis
6c143d74c2 Fix tests on Windows 2018-03-13 16:56:14 +01:00
Lars Kanis
257b1a5e49 Whole bunch of changes
Run sync within a SQL transaction, so that no partial sync happens

Don't abort on SQL errors, but print ERROR notice

Exit with code 1 when any ERRORs were logged

Silence the test suite, so that test runs are more clearly

Use PG queries instead of psql in test. This is more flexible
than parsing text outputs per Regexp.
2018-03-13 16:34:50 +01:00
Lars Kanis
d9cb63ed98
Separate tests into one operation per test 2018-02-12 22:09:00 +01:00
Lars Kanis
7480afcfbd
Add CI tests on Travis-ci and Appveyor 2018-02-06 23:03:32 +01:00
Lars Kanis
e55b6305f7
Fix minitest assertion 2018-02-06 22:31:40 +01:00
Lars Kanis
3d676d20d1
Exclude default roles of PostgreSQL-10 2018-02-06 22:31:06 +01:00
Lars Kanis
bab7a9c952
Fix compatibility with PostgreSQL-10 2018-02-06 21:59:27 +01:00
Lars Kanis
611abf1594
Move from Hoe to Bundler
This adds a gemspec and a Gemfile to the repository.
2018-02-06 21:56:53 +01:00
Lars Kanis
c36abdd906 Adjust test, so that it runs on Windows 2011-07-14 11:08:17 +02:00
Lars Kanis
321781679d fix crash when droping a role and revoking it's memberships afterwards 2011-07-08 15:50:33 +02:00
Lars Kanis
9082ebf032 postgres-pr needs to set the login user name 2011-07-08 13:34:10 +02:00
Lars Kanis
abdeef43d0 add a second sync to the tests 2011-07-07 16:14:37 +02:00
Lars Kanis
aab83aaf09 check results of psql-du 2011-07-07 15:07:05 +02:00
Lars Kanis
0ee44b86f7 remove spaces for options 2011-07-07 15:06:34 +02:00
Lars Kanis
e43a96b19b add support for postgres-pr 2011-05-24 13:52:21 +02:00
Lars Kanis
be1505a2a1 removed comments in test-config 2011-05-24 11:57:52 +02:00
Lars Kanis
56534e4f93 add test with ldap- and pg-server 2011-05-24 11:14:26 +02:00
Lars Kanis
d54d82ae95 Sync roles works, sync membership not yet 2011-05-18 15:45:08 +02:00