[Pkg-postgresql-public] test suite problems with pg_stat_tmp
Peter Eisentraut
petere at debian.org
Sat Sep 27 04:22:26 UTC 2014
When you run one of the test files manually, e.g.,
sudo prove -v t/050_encodings.t
they now all fail with something like
not ok 58 - No files in /var/lib/postgresql left behind
not ok 59 - No files in /var/run/postgresql left behind
ok 60 - No files in /var/log/postgresql left behind
# Expected directory contents: [], actual contents: [.psql_history
.bash_history]
# Failed test 'No files in /var/lib/postgresql left behind'
# at t/TestLib.pm line 149.
# Expected directory contents: [], actual contents:
[9.4-ru_RU.UTF-8.pg_stat_tmp 9.4-ru_RU.pg_stat_tmp 9.4-main.pg_stat_tmp]
# Failed test 'No files in /var/run/postgresql left behind'
# at t/TestLib.pm line 149.
Apparently, the mounting magic in the testsuite script hides these
problems, but then it's doubtful whether those test cases would ever
catch a real problem.
More information about the Pkg-postgresql-public
mailing list