aboutsummaryrefslogtreecommitdiff
path: root/deprecated/automation/clients/pwd_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/automation/clients/pwd_test.py')
-rwxr-xr-xdeprecated/automation/clients/pwd_test.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/deprecated/automation/clients/pwd_test.py b/deprecated/automation/clients/pwd_test.py
deleted file mode 100755
index 493444d5..00000000
--- a/deprecated/automation/clients/pwd_test.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/python2
-#
-# Copyright 2010 Google Inc. All Rights Reserved.
-
-import pickle
-import xmlrpclib
-
-from automation.common import job
-from automation.common import job_group
-from automation.common import machine
-
-
-def Main():
- server = xmlrpclib.Server('http://localhost:8000')
-
- command = ['echo These following 3 lines should be the same', 'pwd', '$(pwd)',
- 'echo ${PWD}']
-
- pwd_job = job.Job('pwd_job', ' && '.join(command))
- pwd_job.DependsOnMachine(machine.MachineSpecification(os='linux'))
-
- group = job_group.JobGroup('pwd_client', [pwd_job])
- server.ExecuteJobGroup(pickle.dumps(group))
-
-
-if __name__ == '__main__':
- Main()