~ubuntu-branches/ubuntu/karmic/bzr/karmic-proposed

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_breakin.py

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2009-02-14 00:24:06 UTC
  • mfrom: (1.1.48 upstream)
  • Revision ID: james.westby@ubuntu.com-20090214002406-h2zfezq54iylm2w8
Tags: 1.12-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        proc = self.start_bzr_subprocess(self._test_process_args,
55
55
                env_changes=dict(BZR_SIGQUIT_PDB=None))
56
56
        # wait for it to get started, and print the 'listening' line
57
 
        proc.stdout.readline()
 
57
        proc.stderr.readline()
58
58
        # first sigquit pops into debugger
59
59
        os.kill(proc.pid, signal.SIGQUIT)
60
60
        proc.stdin.write("q\n")
67
67
        proc = self.start_bzr_subprocess(self._test_process_args,
68
68
                env_changes=dict(BZR_SIGQUIT_PDB=None))
69
69
        # wait for it to get started, and print the 'listening' line
70
 
        proc.stdout.readline()
 
70
        proc.stderr.readline()
71
71
        # break into the debugger
72
72
        os.kill(proc.pid, signal.SIGQUIT)
73
73
        # now send a second sigquit, which should cause it to exit.  That
93
93
        proc = self.start_bzr_subprocess(self._test_process_args,
94
94
                env_changes=dict(BZR_SIGQUIT_PDB='0'))
95
95
        # wait for it to get started, and print the 'listening' line
96
 
        proc.stdout.readline()
 
96
        proc.stderr.readline()
97
97
        # first hit should just kill it
98
98
        os.kill(proc.pid, signal.SIGQUIT)
99
99
        proc.wait()