view tests/test-requires.t @ 12135:b6cc68ef2702

test-serve: ensure KILLQUIETLY is only used once 49463314c24f introduced a feature to the hgserve() function that suppresses errors from kill(1). It wrongly assumed that setting an environment variable when calling a function would make it local to the function. It ended up suppressing kill errors for every call thereafter. This patch sets KILLQUIETLY=N after use.
author Brodie Rao <brodie@bitheap.org>
date Mon, 30 Aug 2010 11:16:21 -0400
parents f51858009328
children 4c94b6d0fb1c
line wrap: on
line source

  $ mkdir t
  $ cd t
  $ hg init
  $ echo a > a
  $ hg add a
  $ hg commit -m test -d "1000000 0"
  $ rm .hg/requires
  $ hg tip
  abort: index 00changelog.i unknown format 2!
  $ echo indoor-pool > .hg/requires
  $ hg tip
  abort: requirement 'indoor-pool' not supported!

  $ true