maint: use COPYING.LIB version 2.1
[libguestfs.git] / perl / t / 510-lib-file-arch.t
index 14392e8..c4b9d31 100644 (file)
 
 use strict;
 use warnings;
-use Test::More tests => 17;
+
+BEGIN {
+    use Test::More;
+    eval "use Locale::TextDomain";;
+    if (exists $INC{"Locale/TextDomain.pm"}) {
+        plan tests => 17;
+    } else {
+        plan skip_all => "no perl-libintl module";
+        exit 0;
+    }
+}
 
 use Sys::Guestfs;
 use Sys::Guestfs::Lib;