X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=perl%2Ft%2F500-lib-load.t;h=3b5b054b65d4d821ff579d957ab62c72597f5592;hp=140716955055dd82a2e09f0423ed80ab8fdf0cd9;hb=HEAD;hpb=1f65b900f0f17a700035dea9a76b910504f4507c diff --git a/perl/t/500-lib-load.t b/perl/t/500-lib-load.t index 1407169..3b5b054 100644 --- a/perl/t/500-lib-load.t +++ b/perl/t/500-lib-load.t @@ -13,11 +13,22 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; -use Test::More tests => 1; + +BEGIN { + use Test::More; + + eval "use Locale::TextDomain";; + if (exists $INC{"Locale/TextDomain.pm"}) { + plan tests => 1; + } else { + plan skip_all => "no perl-libintl module"; + exit 0; + } +} use Sys::Guestfs; use Sys::Guestfs::Lib;