Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit637a934

Browse files
committed
Simplify new test suite handling of passwordcheck
This changes the use of a custom configuration file to enforce the valueof preload_shared_libraries to simply load the library during the tests.This removes the restriction of running installcheck on the tests, andsimplifies its makefile contrary to what has been introduced inaf7211e.Author: Michael Paquier <michael.paquier@gmail.com>
1 parent62a1657 commit637a934

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

‎contrib/passwordcheck/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ PGFILEDESC = "passwordcheck - strengthen user password checks"
88
# PG_CPPFLAGS = -DUSE_CRACKLIB '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"'
99
# SHLIB_LINK = -lcrack
1010

11-
REGRESS_OPTS = --temp-config$(srcdir)/passwordcheck.conf
1211
REGRESS = passwordcheck
13-
# disabled because these tests require setting shared_preload_libraries
14-
NO_INSTALLCHECK = 1
1512

1613
ifdefUSE_PGXS
1714
PG_CONFIG = pg_config

‎contrib/passwordcheck/expected/passwordcheck.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
LOAD 'passwordcheck';
12
CREATE USER regress_user1;
23
-- ok
34
ALTER USER regress_user1 PASSWORD 'a_nice_long_password';

‎contrib/passwordcheck/passwordcheck.conf

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎contrib/passwordcheck/sql/passwordcheck.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
LOAD'passwordcheck';
2+
13
CREATEUSERregress_user1;
24

35
-- ok

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp