-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from yuravk/almalinux
Make up2date with CentOS / Integration SIG / compose-tests
- Loading branch information
Showing
96 changed files
with
280 additions
and
806 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
DEFAULT Framed-Protocol == PPP | ||
Framed-Protocol = PPP, | ||
Framed-Compression = Van-Jacobson-TCP-IP | ||
DEFAULT Hint == "CSLIP" | ||
Framed-Protocol = SLIP, | ||
Framed-Compression = Van-Jacobson-TCP-IP | ||
DEFAULT Hint == "SLIP" | ||
Framed-Protocol = SLIP | ||
|
||
user Cleartext-Password := "password" |
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,4 @@ | ||
summary: freeradius smoke test | ||
description: Verify that freeradius works | ||
test: ./test.sh | ||
framework: beakerlib |
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,33 @@ | ||
#!/bin/bash | ||
. /usr/share/beakerlib/beakerlib.sh || exit 1 | ||
|
||
rlJournalStart | ||
|
||
rlPhaseStartSetup | ||
rlRun "dnf install -y freeradius freeradius-utils" | ||
rlRun "pushd /etc/raddb/certs/" | ||
rlRun "make" | ||
rlRun "chown root:radiusd *" | ||
rlRun "popd" | ||
rlRun "cp -f ./authorize /etc/raddb/mods-config/files/authorize" | ||
rlRun "chown root:radiusd /etc/raddb/mods-config/files/authorize" | ||
rlServiceStop radiusd | ||
rlServiceStart radiusd | ||
rlPhaseEnd | ||
|
||
rlPhaseStartTest "Verifying successful authentication" | ||
rlRun -s 'echo "User-Name=user,User-Password=password" | radclient -x localhost:1812 auth testing123' 0 'auth with valid creds' | ||
rlAssertNotGrep "Access-Reject" $rlRun_LOG | ||
rlPhaseEnd | ||
|
||
rlPhaseStartTest "Verifying failed authentication" | ||
rlRun -s 'echo "User-Name=user2,User-Password=password2" | radclient -x localhost:1812 auth testing123' 1 'auth with bad creds' | ||
rlAssertGrep "Access-Reject" $rlRun_LOG | ||
rlPhaseEnd | ||
|
||
rlPhaseStartCleanup | ||
rlServiceStop radiusd | ||
rlRun "dnf remove -y freeradius freeradius-utils" | ||
rlPhaseEnd | ||
|
||
rlJournalEnd |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,6 @@ | |
# Author: Christoph Galuschka <[email protected]> | ||
t_Log "Running $0 - amanda server runs a simple task (backing up /etc)" | ||
|
||
if (t_GetPkgRel basesystem | grep -q el5) | ||
then | ||
t_Log "This is a C5 system. Skipping." | ||
t_CheckExitStatus 0 | ||
exit $PASS | ||
fi | ||
|
||
if (t_GetPkgRel basesystem | grep -q el9) | ||
then | ||
t_Log "This is a C9 system. Amanda not present. Skipping." | ||
t_CheckExitStatus 0 | ||
exit $PASS | ||
fi | ||
|
||
ret_val=0 | ||
|
||
# Creating necessary directories | ||
|
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
summary: imported p_amanda test set | ||
description: p_amanda imported as-is | ||
test: ./test.sh | ||
enabled: false | ||
adjust: | ||
when: distro == centos-8 | ||
enabled: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
#!/bin/bash | ||
# Author: Neal Gompa <[email protected]> | ||
|
||
# Skip if older than CentOS 8 | ||
if [ "$centos_ver" -lt "8" ]; then | ||
t_Log "annobin does not exist pre-c8 => SKIP" | ||
exit 0 | ||
fi | ||
|
||
# Install annobin and gcc | ||
t_Log "Running $0 - installing annobin and gcc." | ||
|
||
t_InstallPackage annobin redhat-rpm-config gcc gcc-c++ | ||
package=annobin | ||
if [ "$centos_ver" -ge "10" ]; then | ||
package=annobin-annocheck | ||
fi | ||
|
||
t_InstallPackage $package redhat-rpm-config gcc gcc-c++ |
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 |
---|---|---|
@@ -1,12 +1,6 @@ | ||
#!/bin/bash | ||
# Author: Neal Gompa <[email protected]> | ||
|
||
# Skip if older than CentOS 8 | ||
if [ "$centos_ver" -lt "8" ]; then | ||
t_Log "annobin does not exist pre-c8 => SKIP" | ||
exit 0 | ||
fi | ||
|
||
# Run the test | ||
t_Log "Running $0 - build a hello world program with gcc using annobin" | ||
|
||
|
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 |
---|---|---|
@@ -1,12 +1,6 @@ | ||
#!/bin/bash | ||
# Author: Neal Gompa <[email protected]> | ||
|
||
# Skip if older than CentOS 8 | ||
if [ "$centos_ver" -lt "8" ]; then | ||
t_Log "annobin does not exist pre-c8 => SKIP" | ||
exit 0 | ||
fi | ||
|
||
# Run the test | ||
t_Log "Running $0 - build a hello world program with gcc-c++ using annobin" | ||
|
||
|
Oops, something went wrong.