summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/copy_rename_20_files_tail_env
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-01-30 15:20:05 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-01-30 15:20:05 +0000
commit26bbab6fc75f82f3e505eeaa9d08ad1c543f102b (patch)
tree6eaae0b9a93d4c6c3069f6d180d3e88983e882a7 /kpov_judge/tasks/copy_rename_20_files_tail_env
parent8c9983a02566119892a97017aefd36bb805b439a (diff)
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
Diffstat (limited to 'kpov_judge/tasks/copy_rename_20_files_tail_env')
-rw-r--r--kpov_judge/tasks/copy_rename_20_files_tail_env/task.py6
1 files changed, 6 insertions, 0 deletions
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