149390697SRobert Clausecker /*- 249390697SRobert Clausecker * Copyright (c) 2023 The FreeBSD Foundation 349390697SRobert Clausecker * 449390697SRobert Clausecker * This software was developed by Robert Clausecker <fuz@FreeBSD.org> 549390697SRobert Clausecker * under sponsorship from the FreeBSD Foundation. 649390697SRobert Clausecker * 749390697SRobert Clausecker * Redistribution and use in source and binary forms, with or without 849390697SRobert Clausecker * modification, are permitted provided that the following conditions 949390697SRobert Clausecker * are met: 1049390697SRobert Clausecker * 1. Redistributions of source code must retain the above copyright 1149390697SRobert Clausecker * notice, this list of conditions and the following disclaimer. 1249390697SRobert Clausecker * 2. Redistributions in binary form must reproduce the above copyright 1349390697SRobert Clausecker * notice, this list of conditions and the following disclaimer in the 1449390697SRobert Clausecker * documentation and/or other materials provided with the distribution. 1549390697SRobert Clausecker * 1649390697SRobert Clausecker * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ''AS IS'' AND 1749390697SRobert Clausecker * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1849390697SRobert Clausecker * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1949390697SRobert Clausecker * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2049390697SRobert Clausecker * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2149390697SRobert Clausecker * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2249390697SRobert Clausecker * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2349390697SRobert Clausecker * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2449390697SRobert Clausecker * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2549390697SRobert Clausecker * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2649390697SRobert Clausecker * SUCH DAMAGE 2749390697SRobert Clausecker */ 2849390697SRobert Clausecker #define FFS ffsl 2949390697SRobert Clausecker #define TYPE long 3049390697SRobert Clausecker #define TYPE_MIN LONG_MIN 3149390697SRobert Clausecker 3249390697SRobert Clausecker #include "ffs_test.c" 33