change log naming to match gitignore expectations

Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
This commit is contained in:
Benjamin Hesmans 2015-01-14 16:25:02 +01:00
parent c20c9238ac
commit 0b121e977e

View File

@ -5,8 +5,8 @@ class MpExperienceNCPV(MpExperience):
""" """
NC PV : NetCat and Pipe Viewer NC PV : NetCat and Pipe Viewer
""" """
SERVER_NC_LOG = "netcat_server.log" SERVER_NC_LOG = "netcat_server"
CLIENT_NC_LOG = "netcat_client.log" CLIENT_NC_LOG = "netcat_client"
NC_BIN = "netcat" NC_BIN = "netcat"
PV_BIN = "/home/bhesmans/Documents/git/pv/pv" PV_BIN = "/home/bhesmans/Documents/git/pv/pv"
@ -45,7 +45,7 @@ class MpExperienceNCPV(MpExperience):
s = MpExperienceNCPV.NC_BIN + " -d " + \ s = MpExperienceNCPV.NC_BIN + " -d " + \
" -l " + self.ncServerPort + \ " -l " + self.ncServerPort + \
" &>" + MpExperienceNCPV.SERVER_NC_LOG + \ " &>" + MpExperienceNCPV.SERVER_NC_LOG + \
"_" + str(id) + " &" "_" + str(id) + ".log &"
print(s) print(s)
return s return s
@ -61,7 +61,7 @@ class MpExperienceNCPV(MpExperience):
self.mpConfig.getServerIP() + " " + \ self.mpConfig.getServerIP() + " " + \
self.ncServerPort + " " + \ self.ncServerPort + " " + \
"&>" + MpExperienceNCPV.CLIENT_NC_LOG + \ "&>" + MpExperienceNCPV.CLIENT_NC_LOG + \
"_" + str(id) "_" + str(id) + ".log"
print(s) print(s)
return s return s