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

Fix for avahi_autoipd ,crontab ,pax path issues and import issue. #98

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

Conversation

ramyabs
Copy link
Contributor

@ramyabs ramyabs commented Apr 17, 2017

crontab/pax/avahi_autoipd : updated the test path in control file ,and also tests failed as import of the (shutil, from autotest.client import utils etc)modules were missing
so added the same in .py files.

Signed-off-by:ramyabs[email protected]

crontab/pax/avahi_autoipd : updated the test path in control file ,and also tests failed as import of the (shutil, from autotest.client import utils etc)modules were missing
so added the same in .py files.

Signed-off-by:ramyabs<[email protected]>
@@ -4,6 +4,7 @@
import logging
import time
import subprocess
from autotest.client import utils
from distutils.spawn import find_executable
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep autotest imports together as mentioned in previous commits.

LOGFILE = '/tmp/autotest_cron-%s' % time.strftime('%Y-%m-%d-%H.%M.%S')

tests = ['normal_cron', 'deny_cron', 'allow_cron']
for i in range(0,3):
job.run_test('linux-tools/crontab', test = tests[i], wait_time = 65, tag = tests[i], log = LOGFILE)
job.run_test('crontab',test_path=path , test = tests[i], wait_time = 65, tag = tests[i], log = LOGFILE)
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove additional space here.
job.run_test('crontab', test_path=path, test = tests[i], wait_time = 65, tag = tests[i], log = LOGFILE)

Below places as well

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.

2 participants