summaryrefslogtreecommitdiffstats
path: root/lua/run-bindtests
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-11-20 13:56:06 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-11-20 14:11:47 +0000
commit7f1f7dd44f4b85c1ce027b2ed194d388518ff452 (patch)
treeebe5c95addfcbefdb0361a988f7ece455a7d67aa /lua/run-bindtests
parentb19f007bd2449f635780078e61a174f19838b32d (diff)
downloadlibguestfs-7f1f7dd44f4b85c1ce027b2ed194d388518ff452.tar.gz
libguestfs-7f1f7dd44f4b85c1ce027b2ed194d388518ff452.tar.xz
libguestfs-7f1f7dd44f4b85c1ce027b2ed194d388518ff452.zip
lua: Add bindtests.
Diffstat (limited to 'lua/run-bindtests')
-rwxr-xr-xlua/run-bindtests20
1 files changed, 20 insertions, 0 deletions
diff --git a/lua/run-bindtests b/lua/run-bindtests
new file mode 100755
index 00000000..170e45b8
--- /dev/null
+++ b/lua/run-bindtests
@@ -0,0 +1,20 @@
+#!/bin/sh -
+# libguestfs Lua bindings
+# 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.
+
+lua bindtests.lua > bindtests.tmp
+diff -u $srcdir/../bindtests bindtests.tmp