Skip to content

Commit 5c1db08

Browse files
committed
Add logfile evaluation
1 parent b3afc9f commit 5c1db08

File tree

1 file changed

+2
-0
lines changed
  • tmt/tests/container/sanity/init

1 file changed

+2
-0
lines changed

tmt/tests/container/sanity/init/init.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ PGDATA=/var/lib/pgsql/data
2121
LOGFILE=/var/lib/pgsql/logfile
2222
su - postgres -c "
2323
/usr/bin/pg_ctl -D $PGDATA -l $LOGFILE start
24+
cat /var/lib/pgsql/logfile
25+
cat /var/lib/pgsql/initdb_postgresql.log
2426
pg_ctl -D $PGDATA status && echo \"PostgreSQL is running\" || { echo \"PostgreSQL is NOT running\"; exit 1; }
2527
"
2628

0 commit comments

Comments
 (0)