##// END OF EJS Templates
dummyssh: use LOCALIP...
Jun Wu -
r31007:bfdb0741 default
parent child Browse files
Show More
@@ -10,7 +10,7 b" os.chdir(os.getenv('TESTTMP'))"
10 if sys.argv[1] != "user@dummy":
10 if sys.argv[1] != "user@dummy":
11 sys.exit(-1)
11 sys.exit(-1)
12
12
13 os.environ["SSH_CLIENT"] = "127.0.0.1 1 2"
13 os.environ["SSH_CLIENT"] = "%s 1 2" % os.environ.get('LOCALIP', '127.0.0.1')
14
14
15 log = open("dummylog", "ab")
15 log = open("dummylog", "ab")
16 log.write("Got arguments")
16 log.write("Got arguments")
General Comments 0
You need to be logged in to leave comments. Login now