summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/test/test_write_disk_hardlink.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-09-01 05:38:33 +0000
committerkientzle <kientzle@FreeBSD.org>2008-09-01 05:38:33 +0000
commitda7b4a0824397b1c724cdf9a9b03b642ef8610ae (patch)
tree33ffbad3b60850d7aaaa2e6c79990403e110b2c2 /lib/libarchive/test/test_write_disk_hardlink.c
parent4f7f14505ade23cf1713dac8e039845e724b1326 (diff)
downloadFreeBSD-src-da7b4a0824397b1c724cdf9a9b03b642ef8610ae.zip
FreeBSD-src-da7b4a0824397b1c724cdf9a9b03b642ef8610ae.tar.gz
Style: Use ARCHIVE_VERSION_NUMBER to conditionalize tests on
the particular libarchive version being tested instead of the deprecated ARCHIVE_API_VERSION and ARCHIVE_VERSION_STAMP macros.
Diffstat (limited to 'lib/libarchive/test/test_write_disk_hardlink.c')
-rw-r--r--lib/libarchive/test/test_write_disk_hardlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/test/test_write_disk_hardlink.c b/lib/libarchive/test/test_write_disk_hardlink.c
index 68f2f26..f8197c8 100644
--- a/lib/libarchive/test/test_write_disk_hardlink.c
+++ b/lib/libarchive/test/test_write_disk_hardlink.c
@@ -36,7 +36,7 @@ __FBSDID("$FreeBSD$");
*/
DEFINE_TEST(test_write_disk_hardlink)
{
-#if ARCHIVE_VERSION_STAMP < 1009000
+#if ARCHIVE_VERSION_NUMBER < 1009000
skipping("archive_write_disk_hardlink tests");
#else
static const char data[]="abcdefghijklmnopqrstuvwxyz";
OpenPOWER on IntegriCloud