view tests/test-bad-pull.t @ 23383:7f8d27e1f862 stable

largefiles: avoid exec-bit examination on the platform being unaware of it Changeset 24600c9d7f4e introduced the examination of exec bit of largefiles in "hg status --rev REV" case, but it doesn't avoid it on the platform being unaware of exec-bit (e.g. on NTFS of Windows).
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 25 Nov 2014 18:37:28 +0900
parents 10116463b0b1
children 4d2b9b304ad0
line wrap: on
line source

#require serve killdaemons

#if windows
  $ hg clone http://localhost:$HGPORT/ copy
  abort: * (glob)
  [255]
#else
  $ hg clone http://localhost:$HGPORT/ copy
  abort: error: Connection refused
  [255]
#endif

  $ test -d copy
  [1]

  $ python "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid
  $ cat dumb.pid >> $DAEMON_PIDS
  $ hg clone http://localhost:$HGPORT/foo copy2
  abort: HTTP Error 404: * (glob)
  [255]
  $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS