-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verification run thanks to vsvecova: http://dreamyhamster.suse.cz/tests/232#step/postgresql96server/1 Impact on openSUSE is not tested. Related progress issue: https://progress.opensuse.org/issues/19976
- Loading branch information
Showing
8 changed files
with
54 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# SUSE's openQA tests | ||
# | ||
# Copyright © 2012-2017 SUSE LLC | ||
# | ||
# Copying and distribution of this file, with or without modification, | ||
# are permitted in any medium without royalty provided the copyright | ||
# notice and this notice are preserved. This file is offered as-is, | ||
# without any warranty. | ||
|
||
# Summary: Postgres tests for SLE12 | ||
# Maintainer: Ondřej Súkup <osukup@suse.cz> | ||
|
||
use base "consoletest"; | ||
use strict; | ||
use testapi; | ||
use utils; | ||
use apachetest; | ||
|
||
sub run() { | ||
select_console 'root-console'; | ||
|
||
# install the postgresql server package | ||
zypper_call 'in postgresql96-server sudo'; | ||
|
||
# start the postgresql service | ||
assert_script_run 'systemctl start postgresql.service', 200; | ||
|
||
# check the status | ||
assert_script_run 'systemctl show -p ActiveState postgresql.service | grep ActiveState=active'; | ||
assert_script_run 'systemctl show -p SubState postgresql.service | grep SubState=running'; | ||
|
||
# test basic functionality of postgresql | ||
setup_pgsqldb; | ||
destroy_pgsqldb; | ||
} | ||
|
||
1; | ||
# vim: set sw=4 et: |