/freebsd/contrib/bmake/unit-tests/ |
H A D | sh-flags.mk | 1 # $NetBSD: sh-flags.mk,v 1.4 2020/12/12 12:19:18 rillig Exp $ 3 # Tests for the effective RunFlags of a shell command (run/skip, echo/silent, 5 # switches interact in various non-obvious ways. To analyze the interactions, 18 opt-ignerr.yes= -i 19 opt-jobs.yes= -j1 20 opt-loud.no= -d0 # side effect: make stdout unbuffered 21 opt-loud.yes= -dl # side effect: make stdout unbuffered 22 opt-no-action.yes= -n 23 opt-silent.yes= -s 24 opt-xtrace.yes= -dx [all …]
|
H A D | opt-jobs-no-action.mk | 1 # $NetBSD: opt-jobs-no-action.mk,v 1.10 2022/05/08 06:51:27 rillig Exp $ 3 # Tests for the combination of the options -j and -n, which prints the 6 # The format of the output differs from the output of only the -n option, 7 # without the -j. This is because all this code is implemented twice, once 11 # opt-jobs.mk 12 # The corresponding tests without the -n option 13 # opt-no-action-combined.mk 14 # The corresponding tests without the -j option 16 .MAKEFLAGS: -j1 -n 42 @+echo hide-from-output 'begin explain' [all …]
|
H A D | opt-jobs-no-action.exp | 10 { : silent 13 false ignore-errors 14 echo run despite the -n option 15 run despite the -n option 20 silent=no always=no ignerr=no 29 silent=no always=no ignerr=yes 32 silent=no always=yes ignerr=no 36 silent=no always=yes ignerr=yes 41 silent=yes always=no ignerr=no 47 silent=yes always=no ignerr=yes [all …]
|
H A D | opt-no-action-runflags.mk | 1 # $NetBSD: opt-no-action-runflags.mk,v 1.1 2020/12/09 07:57:52 rillig Exp $ 3 # Tests for the -n command line option, which runs almost no commands, 4 # combined with the RunFlags '@', '-', '+' for individual commands. 7 # opt-jobs-no-action.mk 8 # The corresponding test with the -j option 10 .MAKEFLAGS: -n 14 SILENT.no= # none 15 SILENT.yes= @ 19 IGNERR.yes= -echo running; false 22 @+echo hide-from-output 'begin $@'; echo [all …]
|
H A D | deptgt-silent.mk | 1 # $NetBSD: deptgt-silent.mk,v 1.4 2020/11/15 20:49:20 rillig Exp $ 3 # Tests for the special target .SILENT in dependency declarations. 5 .SILENT: all 9 # Without the .SILENT, the following command would be echoed. 10 echo 'This is not echoed because of the .SILENT.' 12 # Demonstrate that the .SILENT only applies to the particular target.
|
H A D | opt-debug-loud.mk | 1 # $NetBSD: opt-debug-loud.mk,v 1.5 2023/12/19 19:33:40 rillig Exp $ 3 # Tests for the -dl command line option, which prints the commands before 4 # running them, ignoring the command line option for silent mode (-s) as 5 # well as the .SILENT special source and target, as well as the '@' prefix 8 .MAKEFLAGS: -dl -s 9 .SILENT: 11 # The -dl command line option does not affect commands that are run when 17 all: .SILENT 18 # Even though the command line option -s is given, .SILENT is set 20 # is still printed. The -dl debugging option is stronger than all [all …]
|
H A D | opt-debug-graph1.exp | 3 # made-target, unmade, type OP_DEPENDS, flags none 4 # made-target-no-sources, unmade, type OP_DEPENDS, flags none 5 # made-source, unmade, type OP_DEPENDS, flags none 6 # unmade-target, unmade, type OP_DEPENDS, flags none 7 # unmade-sources, unmade, type none, flags none 8 # unmade-silent-source, unmade, type OP_SILENT, flags none 9 # unmade-target-no-sources, unmade, type OP_DEPENDS, flags none 14 # unmade-sources [unmade-sources] 15 # unmade-silent-source [unmade-silent-source] .SILENT 17 …GETS = all made-target made-target-no-sources made-source unmade-target unmade-sources unmad… [all …]
|
H A D | job-flags.mk | 1 # $NetBSD: job-flags.mk,v 1.2 2020/11/14 13:17:47 rillig Exp $ 4 # like .SILENT or .IGNORE, as well as the command line options -s or -i. 6 .MAKEFLAGS: -j1 8 all: silent .WAIT ignore .WAIT ignore-cmds 13 silent: .SILENT .PHONY 22 ignore-cmds: .PHONY 24 # to ignore mode by prefixing them with a '-'. 25 -false without indentation 26 # This also works if the '-' is indented by a space or a tab. 28 -false space [all …]
|
H A D | depsrc-silent.mk | 1 # $NetBSD: depsrc-silent.mk,v 1.3 2020/08/29 17:34:21 rillig Exp $ 3 # Tests for the special source .SILENT in dependency declarations, 7 # Without the .SILENT, the commands 'echo one' and 'echo two' would be 9 all: .SILENT
|
H A D | deptgt-silent-jobs.mk | 1 # $NetBSD: deptgt-silent-jobs.mk,v 1.3 2022/04/15 09:33:20 rillig Exp $ 3 # Ensure that the special dependency target '.SILENT' only affects the amount 9 # handling were output in jobs mode, even when the global '.SILENT' 10 # was set. This was fixed in job.c 1.452 from 2022-02-12. 18 .SILENT: 21 -echo '${VARIANT}: testing 2' 28 @${MAKE} -r -f ${MAKEFILE} test VARIANT=compat 34 @${MAKE} -r -f ${MAKEFILE} test VARIANT=jobs -j1
|
H A D | opt-debug-graph1.mk | 1 # $NetBSD: opt-debug-graph1.mk,v 1.3 2020/09/05 06:46:12 rillig Exp $ 3 # Tests for the -dg1 command line option, which prints the input 6 .MAKEFLAGS: -dg1 8 all: made-target made-target-no-sources 10 made-target: made-source 12 made-source: 14 made-target-no-sources: 16 unmade-target: unmade-sources unmade-silent-source 18 .SILENT: unmade-silent-source 20 unmade-target-no-sources:
|
H A D | sh-leading-at.mk | 1 # $NetBSD: sh-leading-at.mk,v 1.6 2023/01/19 19:55:27 rillig Exp $ 7 # .SILENT 8 # depsrc-silent.mk 9 # opt-silent.mk 20 # Since 2023-01-17, the leading '@', '+' and '-' may contain
|
H A D | opt-silent.mk | 1 # $NetBSD: opt-silent.mk,v 1.3 2022/01/23 16:09:38 rillig Exp $ 3 # Tests for the -s command line option. 5 .MAKEFLAGS: -s 10 @echo 'silent message'
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/ |
H A D | man.ListProbesWithNames | 31 * Using -l option with -n option. 33 * SECTION: dtrace Utility/-l Option; 34 * dtrace Utility/-n Option 39 * /usr/sbin/dtrace -ln profile 40 * RESULT: Silent output without any probes listed. 43 * /usr/sbin/dtrace -ln genunix 44 * RESULT: Silent output without any probes listed. 47 * /usr/sbin/dtrace -ln read 48 * RESULT: Silent output without any probes listed. 51 * /usr/sbin/dtrace -ln BEGIN [all …]
|
H A D | man.ListProbesWithFunctions | 31 * Using -l option with -f option. 33 * SECTION: dtrace Utility/-l Option; 34 * dtrace Utility/-f Option 39 * /usr/sbin/dtrace -lf profile 40 * RESULT: Silent output without any probes listed. 43 * /usr/sbin/dtrace -lf genunix 44 * RESULT: Silent output without any probes listed. 47 * /usr/sbin/dtrace -lf read 51 * /usr/sbin/dtrace -lf genunix:read 56 * /usr/sbin/dtrace -lf sysinfo:genunix:read [all …]
|
H A D | man.ListProbesWithModules | 31 * Using -l option with -m option. 33 * SECTION: dtrace Utility/-l Option; 34 * dtrace Utility/-m Option 39 * /usr/sbin/dtrace -lm profile 40 * RESULT: Silent output without any probes listed. 43 * /usr/sbin/dtrace -lm genunix 47 * /usr/sbin/dtrace -lm vtrace:genunix 52 * /usr/sbin/dtrace -lm :genunix:: 56 * /usr/sbin/dtrace -lm profile:::profile-97 60 * /usr/sbin/dtrace -lm genunix -lm unix [all …]
|
/freebsd/contrib/file/src/ |
H A D | fsmagic.c | 2 * Copyright (c) Ian F. Darwin 1986-1995. 4 * maintained 1995-present by Christos Zoulas and others. 29 * fsmagic - magic based on filesystem info - directory, special files, etc. 73 int mime = ms->flags & MAGIC_MIME; in bad_link() 76 == -1) in bad_link() 77 return -1; in bad_link() 79 if (ms->flags & MAGIC_ERROR) { in bad_link() 82 return -1; in bad_link() 84 if (file_printf(ms, "broken symbolic link to %s", buf) == -1) in bad_link() 85 return -1; in bad_link() [all …]
|
/freebsd/sys/contrib/openzfs/.github/workflows/ |
H A D | checkstyle.yaml | 8 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 9 cancel-in-progress: true 13 runs-on: ubuntu-22.04 15 - uses: actions/checkout@v4 18 - name: Install dependencies 21 sudo apt-get purge -y snapd google-chrome-stable firefox 22 ONLY_DEPS=1 .github/workflows/scripts/qemu-3-deps-vm.sh ubuntu22 23 sudo apt-get install -y cppcheck devscripts mandoc pax-utils shellcheck 24 sudo python -m pipx install --quiet flake8 27 checkbashisms --version [all …]
|
/freebsd/usr.bin/lockf/ |
H A D | lockf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 50 static int acquire_lock(union lock_subject *subj, int flags, int silent); 58 static int lockfd = -1; 74 if (strncmp(name, FDLOCK_PREFIX, sizeof(FDLOCK_PREFIX) - 1) != 0) in fdlock_implied() 78 name += sizeof(FDLOCK_PREFIX) - 1; in fdlock_implied() 94 int ch, flags, silent, status; in main() local 99 silent = keep = 0; in main() 101 waitsec = -1; /* Infinite. */ in main() 102 while ((ch = getopt(argc, argv, "knst:w")) != -1) { in main() [all …]
|
/freebsd/stand/lua/ |
H A D | config.lua | 1 -- 2 -- SPDX-License-Identifier: BSD-2-Clause 3 -- 4 -- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> 5 -- Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org> 6 -- All rights reserved. 7 -- 8 -- Redistribution and use in source and binary forms, with or without 9 -- modification, are permitted provided that the following conditions 10 -- are met: [all …]
|
/freebsd/contrib/openpam/bin/pamtest/ |
H A D | pamtest.c | 1 /*- 2 * Copyright (c) 2011 Dag-Erling Smørgrav 53 static int silent; variable 62 * Print an information message if -v was specified at least once 116 flags |= silent; in pt_authenticate() 131 flags |= silent; in pt_acct_mgmt() 146 flags |= silent; in pt_chauthtok() 161 flags |= silent; in pt_setcred() 176 flags |= silent; in pt_open_session() 191 flags |= silent; in pt_close_session() [all …]
|
/freebsd/bin/sh/ |
H A D | mail.c | 1 /*- 58 * non-zero, then the value of MAIL has changed, so we just update the 63 chkmail(int silent) in chkmail() argument 72 if (silent) in chkmail() 85 if (p == mpath - 1) in chkmail() 94 if (statb.st_mtime > mailtime[i] && ! silent) { in chkmail() 102 if (statb.st_size > mailtime[i] && ! silent) { in chkmail()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | comp_scan.c | 2 ,* Copyright 2020-2022,2023 Thomas E. Dickey * 3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. * 31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * 39 * comp_scan.c --- Lexical scanner for terminfo compiler. 80 * Token-grabbing machinery 91 NCURSES_EXPORT_VAR (bool) _nc_disable_period = FALSE; /* used by tic -a option */ 96 * Character-stream handling 109 * Resets the input-reading routines. Used on initialization, 111 * non-null. 144 while (len--) { in last_char() [all …]
|
H A D | parse_entry.c | 2 * Copyright 2018-2022,2023 Thomas E. Dickey * 3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. * 31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * 33 * and: Thomas E. Dickey 1996-on * 37 * parse_entry.c -- compile one terminfo or termcap entry 39 * Get an exact in-core representation of an entry. Don't 70 TERMTYPE2 *tp = &(entryp->tterm); in _nc_extend_names() 80 last = tp->ext_Booleans; in _nc_extend_names() 81 offset = tp->ext_Booleans; in _nc_extend_names() 82 tindex = tp->num_Booleans; in _nc_extend_names() [all …]
|
/freebsd/share/mk/ |
H A D | local.meta.sys.env.mk | 4 .-include <site.meta.sys.env.mk> 7 META_MODE+= missing-meta=yes 9 # silent will hide command output if a .meta file is created. 11 META_MODE+= silent=yes 14 META_MODE+= missing-filemon=yes
|