'Start an HTTP server on h1 and wget from h2'

def testSimpleHTTP(self):

    p = pexpect.spawn('mn')
    p.expect(self.prompt)
    p.sendline('h1    python    -m    SimpleHTTPServer    80    &')
    sleep(2)
    p.expect(self.prompt)
    p.sendline('    h2    wget    -O    -    h1')
    p.expect('200    OK')
    p.expect(self.prompt)
    p.sendline('h1    kill    %python')
    p.expect(self.prompt)
    p.sendline('exit')
    p.wait()
