From 26bbab6fc75f82f3e505eeaa9d08ad1c543f102b Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Fri, 30 Jan 2015 15:20:05 +0000 Subject: test_prepare_disks now seems to work. git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@253 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/copy_rename_20_files_tail_env/task.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kpov_judge/tasks') diff --git a/kpov_judge/tasks/copy_rename_20_files_tail_env/task.py b/kpov_judge/tasks/copy_rename_20_files_tail_env/task.py index 22b8b2d..a321bc2 100644 --- a/kpov_judge/tasks/copy_rename_20_files_tail_env/task.py +++ b/kpov_judge/tasks/copy_rename_20_files_tail_env/task.py @@ -169,5 +169,11 @@ def task_check(results, params): def prepare_disks(templates, params): # d = templates['simpleArbiterDhcp'] + print "Haha!" + print params + print templates + d = templates['malishell'] + d.touch('/home/student/mamica_je_ena_sama.txt') + d.chown('student', 'www-data', '/home/student/mamica_je_ena_sama.txt') pass -- cgit v1.2.1