git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d014917
)
update plc_configure to match Tony's previous update of storing plc variables in...
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Tue, 12 Feb 2008 03:42:09 +0000
(
03:42
+0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Tue, 12 Feb 2008 03:42:09 +0000
(
03:42
+0000)
qaapi/qa/tests/plc_configure.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/tests/plc_configure.py
b/qaapi/qa/tests/plc_configure.py
index
392e9a7
..
c08993f
100644
(file)
--- a/
qaapi/qa/tests/plc_configure.py
+++ b/
qaapi/qa/tests/plc_configure.py
@@
-44,12
+44,12
@@
class plc_configure(Test):
# Write temporary plc-config file
tmpfconf, tmpfname = tempfile.mkstemp(".config","plc-config-tty")
if self.config.verbose:
# Write temporary plc-config file
tmpfconf, tmpfname = tempfile.mkstemp(".config","plc-config-tty")
if self.config.verbose:
- utils.header("generat
e
temporary config file %(tmpfname)s"%locals())
- for (option, value) in plc_
var
s:
- os.write(tmpfconf, 'e %s\n%s\n' % (optin, value))
+ utils.header("generat
ing
temporary config file %(tmpfname)s"%locals())
+ for (option, value) in plc_
option
s:
+ os.write(tmpfconf, 'e %s\n%s\n' % (opti
o
n, value))
os.write(tmpfconf,'w\nq\n')
os.close(tmpfconf)
os.write(tmpfconf,'w\nq\n')
os.close(tmpfconf)
-
+
# configure plc
command = "plc-config-tty < %(tmpfname)s" % locals()
if self.config.verbose: utils.header(command)
# configure plc
command = "plc-config-tty < %(tmpfname)s" % locals()
if self.config.verbose: utils.header(command)