tests/test-hup
author Matt Mackall <mpm@selenic.com>
Sat, 09 Jul 2005 18:11:54 -0800
changeset 656 147d2fa2d766
parent 647 732ca4b56b7f
child 800 ec85f9e6f3b1
child 808 8f5637f0a0c0
child 814 0902ffece4b4
permissions -rwxr-xr-x
Warn about bogus ignore expressions -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Warn about bogus ignore expressions manifest hash: 7beb33a1f0879a1d2457953187a523417bc7a101 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFC0IPqywK+sNU5EO8RAsOdAJ0bFxZoUjSk/BxWZ9C50SlxlDBlBQCeKbu0 QVzZZKIFlDRVWOsi8zfamHA= =zAVL -----END PGP SIGNATURE-----
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
642
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
#!/bin/sh
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     2
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     3
hg init
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     4
mkfifo p
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     5
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     6
hg serve --stdio < p &
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     7
P=$!
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     8
(echo lock; echo addchangegroup; sleep 5) > p &
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     9
Q=$!
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    10
sleep 1
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    11
kill -HUP $P
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    12
sleep 1
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    13
ls .hg
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    14
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    15
5d6177b72fcc Update tests
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    16