Changeset 3355 for trunk


Ignore:
Timestamp:
May 7, 2007, 5:07:47 AM (18 years ago)
Author:
bird
Message:

OS/2 needs 2+ sleeps for file times to change.

Location:
trunk/essentials/app-arch/tar/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/app-arch/tar/tests/incremental.at

    r3342 r3355  
    4545tar cfv archive --listed=list structure
    4646echo separator
    47 sleep 1
     47if test "`uname -o`" = "OS/2"; then
     48  # The OS/2 API has a 2 second granularity on file times.
     49  sleep 3
     50else
     51  sleep 1
     52fi
    4853echo y >structure/file
    4954tar cfv archive --listed=list structure
  • trunk/essentials/app-arch/tar/tests/listed01.at

    r3342 r3355  
    3131genfile --length 10240 --pattern zeros --file directory/file1
    3232# Let the things settle
    33 sleep 1
     33if test "`uname -o`" = "OS/2"; then
     34  # The OS/2 API has a 2 second granularity on file times.
     35  sleep 3
     36else
     37  sleep 1
     38fi
    3439
    3540tar --create \
     
    4045tar tf archive.1 || exit 1
    4146
    42 sleep 1
     47if test "`uname -o`" = "OS/2"; then
     48  # The OS/2 API has a 2 second granularity on file times.
     49  sleep 3
     50else
     51  sleep 1
     52fi
    4353
    4454genfile --length 10240 --pattern zeros --file directory/file2
  • trunk/essentials/app-arch/tar/tests/truncate.at

    r3342 r3355  
    3636echo Exit status: $?
    3737echo separator
    38 sleep 1
     38if test "`uname -o`" = "OS/2"; then
     39  # The OS/2 API has a 2 second granularity on file times.
     40  sleep 3
     41else
     42  sleep 1
     43fi
    3944genfile --file foo --seek 49995k --length 5k --pattern=zeros
    4045tar dvf bar],
Note: See TracChangeset for help on using the changeset viewer.