bup-tick(1)

bup-tick1

Wait for up to one second

Usage

bup tick

Overview

bup tick waits until time(2) returns a different value than it originally did. Since time() has a granularity of one second, this can cause a delay of up to one second.

This program is useful for writing tests that need to ensure a file date will be seen as modified. It is slightly better than sleep(1) since it sometimes waits for less than one second.

Examples

$ date; bup tick; date
Sat Feb  6 16:59:58 EST 2010
Sat Feb  6 16:59:59 EST 2010

Bup

Part of the bup(1) suite.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 11
  6. 12
  7. 13
  8. Arch

Authors

Avery Pennarun ⟨[email protected]⟩\c.

From bup 0.34-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.