summaryrefslogtreecommitdiffstats
path: root/sysprep/script1.sh
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-04-01 20:02:25 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-04-01 20:02:25 +0100
commit95123a9144edc1ddb3ad67d75276ca3af70eddb8 (patch)
tree92a60ee0b46cd082c43b79dd73cd3463cd3de80e /sysprep/script1.sh
parent6282d92b1bc4fe57a92f939258d7ccee815fa6ab (diff)
downloadlibguestfs-95123a9144edc1ddb3ad67d75276ca3af70eddb8.tar.gz
libguestfs-95123a9144edc1ddb3ad67d75276ca3af70eddb8.tar.xz
libguestfs-95123a9144edc1ddb3ad67d75276ca3af70eddb8.zip
sysprep: Add a test of the --script option.
Diffstat (limited to 'sysprep/script1.sh')
-rwxr-xr-xsysprep/script1.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysprep/script1.sh b/sysprep/script1.sh
new file mode 100755
index 00000000..6ba274cc
--- /dev/null
+++ b/sysprep/script1.sh
@@ -0,0 +1,21 @@
+#!/bin/bash -
+# libguestfs virt-sysprep test --script option
+# Copyright (C) 2012 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.
+
+# This is used by test-virt-sysprep-script.sh.
+
+pwd > $abs_builddir/stamp-script1.sh