Mercurial > hg
comparison tests/test-archive-symlinks.t @ 29844:c4d03b6d9576
tests: guard test-archive-symlink with unziplinks check
This fixes the test on FreeBSD, where the stock unzip doesn't
understand symlinks.
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 25 Aug 2016 01:26:39 -0400 |
parents | 4d2b9b304ad0 |
children |
comparison
equal
deleted
inserted
replaced
29843:00ca4f966ca6 | 29844:c4d03b6d9576 |
---|---|
27 $ tar xf archive.tar | 27 $ tar xf archive.tar |
28 $ cd tar | 28 $ cd tar |
29 $ readlink.py dangling | 29 $ readlink.py dangling |
30 dangling -> nothing | 30 dangling -> nothing |
31 | 31 |
32 #if unziplinks | |
32 zip | 33 zip |
33 | 34 |
34 $ cd "$origdir" | 35 $ cd "$origdir" |
35 $ unzip archive.zip > /dev/null 2>&1 | 36 $ unzip archive.zip > /dev/null 2>&1 |
36 $ cd zip | 37 $ cd zip |
37 $ readlink.py dangling | 38 $ readlink.py dangling |
38 dangling -> nothing | 39 dangling -> nothing |
40 #endif | |
39 | 41 |
40 $ cd .. | 42 $ cd .. |