Skip to content

Commit ec42c33

Browse files
committed
ext test: accept new string for psql output
1 parent c3d9bd7 commit ec42c33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/test/upgrade-and-exit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ psql -U puppetdb puppetdb -c '\dt' >"$tmpdir/out" 2>"$tmpdir/err"
7272
cat "$tmpdir/out"
7373
cat "$tmpdir/err"
7474
# Output moved to err and changed as of at least pg 11
75+
# Output string on err changed to "tables" in pg18
7576
grep 'No relations found' "$tmpdir/out" \
76-
|| grep 'Did not find any relations' "$tmpdir/err"
77+
|| grep 'Did not find any relations' "$tmpdir/err" \
78+
|| grep 'Did not find any tables' "$tmpdir/err"
7779

7880
# Run upgrade
7981
./pdb upgrade -c "$PDBBOX/conf.d"

0 commit comments

Comments
 (0)