Skip to content

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

Open
ramyabs wants to merge 1 commit into
autotest:masterfrom
ramyabs:test_1
Open

Fix for avahi_autoipd ,crontab ,pax path issues and import issue.#98
ramyabs wants to merge 1 commit into
autotest:masterfrom
ramyabs:test_1

Conversation

@ramyabs

@ramyabs ramyabs commented Apr 17, 2017

Copy link
Copy Markdown
Contributor

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:ramyabsramya@linux.vnet.ibm.com

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<ramya@linux.vnet.ibm.com>
import time
import subprocess
from autotest.client import utils
from distutils.spawn import find_executable

Copy link
Copy Markdown
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.

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
Copy Markdown
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