tests/test-pull
author mpm@selenic.com
Thu, 16 Jun 2005 08:37:15 -0800
changeset 382 37249c522770
parent 350 b4e0e20646bb
child 392 ee4c80d294e5
permissions -rwxr-xr-x
test suite: fix timezone problems and port collision problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 test suite: fix timezone problems and port collision problem manifest hash: 44652133f49c24679b289c0250eb591682225c54 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsaq7ywK+sNU5EO8RAluQAKCSuUGge7bQPbWbQoIfWETDFRibNwCgs12e /TSLCPJ0aHvqttMhJSaYOSU= =5OYO -----END PGP SIGNATURE-----
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     1
#!/bin/bash
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     2
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     3
set -e
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     4
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     5
mkdir test
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     6
cd test
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     7
echo foo>foo
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     8
hg init
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
     9
hg addremove
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    10
hg commit -t "1"
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    11
hg verify
382
37249c522770 test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents: 350
diff changeset
    12
hg serve -p 20059 2>/dev/null &
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    13
C=$!
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    14
cd ..
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    15
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    16
mkdir copy
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    17
cd copy
382
37249c522770 test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents: 350
diff changeset
    18
hg init http://localhost:20059/
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    19
hg verify
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    20
hg co
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    21
cat foo
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    22
hg manifest
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    23
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents:
diff changeset
    24
kill $C