Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description: There are configuration changes from apache2.2 to apache… #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bskjois
Copy link
Contributor

@bskjois bskjois commented Apr 10, 2018

…2.4 version and Apache does not encourage to use /tmp to access files using http from RHEL7 onwards. Hence the tests are failing to access the /tmp dir used to access the files in our tests.

Changes:

  • Updated the new config to httpd.conf, which is changed apache2.4 version.
  • Modified the path used in tests from $TCTMP (/tmp) to "/usr/local/autotest_base/autotest-client-tests/linux-tools/httpd_tools/tmp"

…2.4 version and Apache does not encourage to use /tmp to access files using http from RHEL7 onwards.

# Restore status of httpd service
if [ $httpd_cleanup -eq 0 ]; then
service httpd stop >$stdout 2>$stderr
systemctl stop httpd >$stdout 2>$stderr
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tc_service macros cant be used here ?

@@ -204,7 +209,7 @@ function htdbm_test()

sed -i 's/AuthType Digest/AuthType Basic/g' $HTTPD_CONF
sed -i 's/AuthBasicProvider file/AuthBasicProvider dbm/g' $HTTPD_CONF
sed -i 's:AuthUserFile $TCTMP/test/passwd_file:AuthDBMUserFile $TCTMP/test/passwd_file:g' $HTTPD_CONF
sed -i 's:AuthUserFile:AuthDBMUserFile:g' $HTTPD_CONF

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please explain why this change is required here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants