summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-11-17 17:55:00 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-11-17 17:55:06 +0000
commit3d0e937b84b4d028d80b66afb960903b7bc10b97 (patch)
treeef2e0c7134a792696f9c74a93d4059047e697100
parent43369e1bd4d98acf1cce6eb0216dcdb43d43bf1b (diff)
downloadlibguestfs-3d0e937b84b4d028d80b66afb960903b7bc10b97.tar.gz
libguestfs-3d0e937b84b4d028d80b66afb960903b7bc10b97.tar.xz
libguestfs-3d0e937b84b4d028d80b66afb960903b7bc10b97.zip
perl: Small test of create with flags.
-rw-r--r--perl/t/025-create-flags.t25
1 files changed, 25 insertions, 0 deletions
diff --git a/perl/t/025-create-flags.t b/perl/t/025-create-flags.t
new file mode 100644
index 00000000..e7224390
--- /dev/null
+++ b/perl/t/025-create-flags.t
@@ -0,0 +1,25 @@
+# libguestfs Perl bindings -*- perl -*-
+# Copyright (C) 2009 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+use strict;
+use warnings;
+use Test::More tests => 1;
+
+use Sys::Guestfs;
+
+my $g = Sys::Guestfs->new (environment => 0);
+ok ($g);