Home
last modified time | relevance | path

Searched +full:fails +full:- +full:without +full:- +full:test +full:- +full:cd (Results 1 – 25 of 166) sorted by relevance

1234567

/freebsd/contrib/kyua/bootstrap/
H A Dtestsuite.at4 dnl Redistribution and use in source and binary forms, with or without
15 dnl without specific prior written permission.
34 cd "$(dirname ${as_myself})"
36 # test suite may be run outside of the source tree (think distcheck).
37 while test $(pwd) != '/' -a ! -e bootstrap/plain_helpers; do
38 cd ..
41 cd ${old}
52 ln -s $(GUESS_TOPDIR)/bootstrap/atf_helpers atf_helpers
55 [HOME=$(pwd) TESTS="$1" kyua --config=none \
56 test --results-file=bootstrap.db $2])
[all …]
/freebsd/tests/sys/acl/
H A D01.sh5 # Redistribution and use in source and binary forms, with or without
28 # This is a wrapper script to run tools-nfs4.test on ZFS filesystem.
32 # If any of the tests fails, here is how to debug it: go to
34 # and do /path/to/test run /path/to/test tools-nfs4.test, e.g.
36 # /usr/src/tools/regression/acltools/run /usr/src/tools/regression/acltools/tools-nfs4.test
44 if [ $(id -u) -ne 0 ]; then
48 if [ ! -c /dev/mdctl ]; then
57 # Set up the test filesystem.
58 MD=`mdconfig -at swap -s 64m`
59 MNT=`mktemp -dt acltools`
[all …]
H A D00.sh5 # Redistribution and use in source and binary forms, with or without
28 # This is a wrapper script to run tools-posix.test on UFS filesystem.
30 # If any of the tests fails, here is how to debug it: go to
32 # and do /path/to/test run /path/to/test tools-posix.test, e.g.
34 # /usr/src/tools/regression/acltools/run /usr/src/tools/regression/acltools/tools-posix.test
38 if [ $(sysctl -n kern.features.ufs_acl 2>/dev/null || echo 0) -eq 0 ]; then
42 if [ $(id -u) -ne 0 ]; then
46 if [ ! -c /dev/mdctl ]; then
55 # Set up the test filesystem.
56 MD=`mdconfig -at swap -s 10m`
[all …]
H A D02.sh5 # Redistribution and use in source and binary forms, with or without
28 # This is a wrapper script to run tools-nfs4.test on UFS filesystem.
30 # If any of the tests fails, here is how to debug it: go to
32 # and do /path/to/test run /path/to/test tools-nfs4.test, e.g.
34 # /usr/src/tools/regression/acltools/run /usr/src/tools/regression/acltools/tools-nfs4.test
38 if [ $(sysctl -n kern.features.ufs_acl 2>/dev/null || echo 0) -eq 0 ]; then
42 if [ $(id -u) -ne 0 ]; then
46 if [ ! -c /dev/mdctl ]; then
55 # Set up the test filesystem.
56 MD=`mdconfig -at swap -s 10m`
[all …]
/freebsd/tools/test/stress2/misc/
H A Dnamecache2.sh7 # Redistribution and use in source and binary forms, with or without
30 # Fails with:
31 # ls -ali /mnt
35 # Test scenario obtained from Rick Miller <vmiller at hostileadmin com>
37 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
39 # This threaded test is designed for MP.
40 [ `sysctl hw.ncpu | sed 's/.* //'` -eq 1 ] && exit 0
45 cd /tmp
47 rm -f /tmp/namecache2
48 mycc -o namecache2 -Wall -Wextra -g -O2 namecache2.c -lpthread || exit 1
[all …]
H A Dmmap33.sh4 # SPDX-License-Identifier: BSD-2-Clause
8 # Redistribution and use in source and binary forms, with or without
29 # ftruncate+mmap+fsync fails for small maps
32 # Original test scenario by tris_vern@hotmail.com
74 if (fd == -1)
76 if (ftruncate(fd, size2) == -1)
83 if (munmap(data, size2) == -1)
90 cc -o /tmp/mmap33 -Wall -Wextra -O2 -g /tmp/mmap33.c || exit 1
93 set -e
94 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
[all …]
H A Dforkbomb.sh7 # Redistribution and use in source and binary forms, with or without
29 # Fork bomb memory leak test scenario.
37 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
41 cd $dir
43 mycc -o forkbomb -Wall -Wextra -O0 -g forkbomb.c || exit 1
44 rm -f forkbomb.c
45 cd $odir
47 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
48 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
49 mdconfig -a -t swap -s 512m -u $mdstart || exit 1
[all …]
H A Dgnop5.sh7 # Redistribution and use in source and binary forms, with or without
29 # Test newfs with different sector size.
31 # mount(8) still fails with a sector size > 8k.
33 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
36 kldstat | grep -q geom_nop || { gnop load 2>/dev/null || exit 0 &&
41 set -e
42 # Fails with a sector size > 8k.
46 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
47 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
49 mdconfig -a -t swap -s 2g -u $mdstart
[all …]
H A Dselect.sh7 # Redistribution and use in source and binary forms, with or without
33 # Test scenario suggestion by kib@
42 cd $dir
44 mycc -o select -Wall -Wextra -O0 -g select.c -lpthread || exit 1
45 rm -f select.c
46 cd $odir
51 rm -f /tmp/select
76 #define PARALLEL 16 /* Fails seen with 1 - 16 */
85 test(void)
108 } while (r == -1 && errno == EINTR);
[all …]
H A Dnlink.sh3 # SPDX-License-Identifier: BSD-2-Clause
7 # Redistribution and use in source and binary forms, with or without
29 # Regression test for:
31 # Bug 165392 - [ufs] [patch] Multiple mkdir/rmdir fails with errno 31
48 mx = UFS_LINK_MAX - 2;
51 if (mkdir(dir, 0700) == -1)
58 if (mkdir(dir, 0700) != -1) /* this must fail */
66 if (rmdir(dir) == -1)
69 if (mkdir(dir, 0700) == -1)
75 mycc -o /tmp/nlink -Wall -Wextra -O2 /tmp/nlink.c || exit 1
[all …]
H A Dmachipc2.sh7 # Redistribution and use in source and binary forms, with or without
29 # Non threaded Mach IPC test scenario
32 ps -p1 | grep -q launchd || exit 0
35 cd /tmp
37 # Test fails without the -lpthread. Need to investigate why.
38 cc -o machipc2 -Wall -Wextra -O2 -g machipc2.c -lmach -lpthread || exit 1
40 cd $odir
42 (cd ../testcases/swap; ./swap -t 5m -i 20 -h -v) &
46 rm -f /tmp/machipc2
248 if ((pid = fork()) == -1)
H A Dsuj33.sh7 # Redistribution and use in source and binary forms, with or without
29 # Test "umount" of active file system
32 # umount -f fails with
36 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
40 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint
41 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
43 mdconfig -a -t swap -s 1g -u $mdstart
44 newfs -j md$mdstart > /dev/null
50 su $testuser -c '(cd ..; ./run.sh disk.cfg)' > /dev/null 2>&1 &
58 mount | grep -q "on $mntpoint " || break
[all …]
H A Dflock_open_close.sh7 # Redistribution and use in source and binary forms, with or without
30 # Fails with "flock_open_close: execv(/mnt/test): Text file busy"
32 # Test scenario by: jhb
34 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
39 cd /tmp
41 rm -f /tmp/flock_open_close
42 mycc -o flock_open_close -Wall -Wextra -O2 -g flock_open_close.c -lpthread || exit 1
43 rm -f flock_open_close.c
45 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
46 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
[all …]
/freebsd/sys/contrib/zstd/
H A DMakefile2 # Copyright (c) 2015-2021, Yann Collet, Facebook, Inc.
5 # This source code is licensed under both the BSD-style license (found in the
8 # You may select, at your option, one of the above-listed licenses.
24 # When cross-compiling from linux to windows, you might
25 # need to specify this as "Windows." Fedora build fails
26 # without it.
28 # Note: mingw-w64 build from linux to windows does not
30 # without manually specifying the TARGET_SYSTEM.
40 ## default: Build lib-release and zstd-release
42 default: lib-release zstd-release
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-am62-verdin-wifi.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
11 wifi_pwrseq: wifi-pwrseq {
12 compatible = "mmc-pwrseq-simple";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_wifi_en>;
15 reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>;
19 /* On-module Wi-Fi */
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_sdhci2>;
[all …]
/freebsd/contrib/netbsd-tests/share/examples/
H A Dt_asm.sh6 # Redistribution and use in source and binary forms, with or without
34 # under test.
36 # If the example is not implemented, the calling test is skipped. If the
37 # check for implementation fails, the calling test is failed.
41 local implemented=$(cd /usr/share/examples/asm/${name}/ && \
42 make check-implemented)
43 [ $? -eq 0 ] || atf_fail "Failed to determine if the sample" \
68 atf_check -s exit:0 -o ignore -e ignore make
69 atf_check -s exit:0 -o inline:'Hello, world!\n' -e empty ./hello
/freebsd/sbin/reboot/
H A Dboot_i386.811 .\" Redistribution and use in source and binary forms, with or without
21 .\" without specific prior written permission.
43 Normally, the system will reboot itself at power-up or after crashes.
45 and unless this fails, the system will resume multi-user operations.
52 you to change this default sequence, and may also include a CD-ROM
60 A three-stage bootstrap is employed.
62 third-stage bootstrap program,
75 .Bd -literal
91 .Bl -tag -width indent
108 .Bl -tag -width indent
[all …]
/freebsd/sys/rpc/
H A Dsvc_vc.c3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
9 * Redistribution and use in source and binary forms, with or without
11 * - Redistributions of source code must retain the above copyright notice,
13 * - Redistributions in binary form must reproduce the above copyright notice,
16 * - Neither the name of Sun Microsystems, Inc. nor the names of its
18 * from this software without specific prior written permission.
37 * Actually implements two flavors of transporter -
82 &KRPC_VNET_NAME(svc_vc_rx_msgbytes), 0, "Count of non-TLS rx bytes");
86 &KRPC_VNET_NAME(svc_vc_rx_msgcnt), 0, "Count of non-TLS rx messages");
[all …]
/freebsd/tools/regression/tmpfs/
H A Dh_funcs.subr12 # Redistribution and use in source and binary forms, with or without
45 # -------------------------------------------------------------------------
49 # Called by tests when a command fails unexpectedly. Terminates
53 if [ -d ${Work_Dir} ]; then
54 cd ${Src_Dir}
58 [ ${Verbose} -eq 2 ] && err "Test ended unexpectedly"
59 [ ${Verbose} -eq 1 ] && echo " failed."
63 # -------------------------------------------------------------------------
74 # -------------------------------------------------------------------------
84 if [ $# -gt 0 ]; then
[all …]
/freebsd/contrib/ntp/sntp/
H A Daclocal.m41 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
3 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
7 # with or without modifications, as long as this notice is preserved.
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
23 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
27 # with or without modification
[all...]
/freebsd/contrib/ntp/
H A Daclocal.m41 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
3 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
7 # with or without modifications, as long as this notice is preserved.
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
23 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
27 # with or without modifications, as long as this notice is preserved.
30 # ----------------------------
43 # -----------------------------
50 # -------------------------------
59 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
[all …]
/freebsd/contrib/openpam/
H A Daclocal.m41 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
3 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
7 # with or without modifications, as long as this notice is preserved.
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
23 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
27 # with or without modifications, as long as this notice is preserved.
30 # ----------------------------
43 # -----------------------------
50 # -------------------------------
59 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Daclocal.m41 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
3 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
7 # with or without modifications, as long as this notice is preserved.
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
23 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
27 # with or without modifications, as long as this notice is preserved.
30 # ----------------------------
43 # -----------------------------
50 # -------------------------------
59 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
[all …]
/freebsd/contrib/file/
H A Daclocal.m41 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
3 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
7 # with or without modifications, as long as this notice is preserved.
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
23 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
27 # with or without modifications, as long as this notice is preserved.
30 # ----------------------------
43 # -----------------------------
50 # -------------------------------
59 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
[all …]
/freebsd/contrib/libevent/
H A Daclocal.m41 # generated automatically by aclocal 1.16.2 -*- Autoconf -*-
3 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
7 # with or without modifications, as long as this notice is preserved.
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
23 # Copyright (C) 2002-2020 Free Software Foundation, Inc.
27 # with or without modifications, as long as this notice is preserved.
30 # ----------------------------
43 # -----------------------------
50 # -------------------------------
59 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
[all …]

1234567