Don't rely on implicit promotion of float to double in printf args.
[libguestfs.git] / regressions / test-luks.sh
index fe42d87..fcf9d70 100755 (executable)
 #
 # 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.
 
 # Test LUKS device creation, opening, key slots.
 
 set -e
 
+[ -n "$SKIP_TEST_LUKS_SH" ] && {
+    echo "test-luks.sh skipped (environment variable set)"
+    exit 0
+}
+
 rm -f test1.img
 
 ../fish/guestfish --keys-from-stdin <<EOF