author | Jun Wu <quark@fb.com> |
Wed, 15 Feb 2017 23:24:03 -0800 | |
changeset 31007 | bfdb0741f9f2 |
parent 31006 | d4916aebf3d0 |
child 31008 | 636cf3f7620d |
tests/dummyssh | file | annotate | diff | comparison | revisions |
--- a/tests/dummyssh Thu Feb 16 08:01:19 2017 -0800 +++ b/tests/dummyssh Wed Feb 15 23:24:03 2017 -0800 @@ -10,7 +10,7 @@ if sys.argv[1] != "user@dummy": sys.exit(-1) -os.environ["SSH_CLIENT"] = "127.0.0.1 1 2" +os.environ["SSH_CLIENT"] = "%s 1 2" % os.environ.get('LOCALIP', '127.0.0.1') log = open("dummylog", "ab") log.write("Got arguments")