/illumos-gate/usr/src/test/util-tests/tests/dladm/ |
H A D | set-linkprop.ksh | 29 fatal() function 44 dladm delete-etherstub $vm_stub || fatal \ 50 dladm create-etherstub $vm_stub || fatal \ 59 dladm create-vnic $flags -l $vm_stub $dev 2>/dev/null || fatal \ 67 dladm delete-vnic $dev || fatal "failed to delete vnic: $dev" 80 [[ -z "$dev" ]] && fatal "missing required device" 81 [[ -z "$prop" ]] && fatal "missing required prop" 82 [[ -z "$val" ]] && fatal "missing required val" 84 [[ $? -eq 0 ]] || fatal "failed to get $prop for $dev" 85 [[ "$val" == "$oval" ]] || fatal \ [all …]
|
H A D | show-overlay-exit.ksh | 30 function fatal function 45 fatal "failed to create overlay" 48 fatal "failed to create etherstub" 54 fatal "failed to remove overlay" 56 fatal "failed to remove etherstub" 66 runtest $* || fatal "show-overlay=$* failed, expected success\n" 71 runtest $* && fatal "show-overlay=$* succeeded, expected failure\n"
|
H A D | show-class-confusion.ksh | 57 fatal() function 85 dladm create-etherstub -t $dl_stub || fatal "failed to create $dl_stub" 86 dladm create-vnic -t -l $dl_stub $dl_vnic || fatal \ 88 dladm create-simnet -t -m Ethernet $dl_sim || fatal \ 90 dladm create-vlan -t -v 23 -l $dl_sim $dl_vlan || fatal \ 92 dladm create-iptun -T ipv4 -t $dl_iptun || fatal \ 94 dladm create-bridge $dl_bridge || fatal "failed to create $dl_bridge" 96 dladm create-secobj -c wpa -f $dl_secobj_file -t $dl_secobj || fatal \
|
/illumos-gate/usr/src/cmd/intrstat/ |
H A D | intrstat.c | 96 fatal(const char *fmt, ...) in fatal() function 235 fatal("cannot specify both a processor set and a processor\n"); in select_cpu() 238 fatal("cpu %d out of range\n", cpu); in select_cpu() 242 fatal("could not get status for cpu %d", cpu); in select_cpu() 243 fatal("cpu %d not present\n", cpu); in select_cpu() 253 fatal("cannot specify both a processor set and processors\n"); in select_cpus() 256 fatal("invalid cpu '%d'\n", low); in select_cpus() 259 fatal("invalid cpu '%d'\n", high); in select_cpus() 262 fatal("invalid range '%d' to '%d'\n", low, high); in select_cpus() 276 fatal("processor set %d is out of range\n", pset); in select_pset() [all …]
|
/illumos-gate/usr/src/cmd/trapstat/sun4/ |
H A D | trapstat.c | 140 fatal(char *fmt, ...) in fatal() function 232 fatal("could not allocate g_selected"); in setup() 238 fatal("could not allocate g_pset_cpus"); in setup() 243 fatal("getpagesizes()"); in setup() 246 fatal("could not allocate g_pgsize array"); in setup() 249 fatal("getpagesizes(%d)", g_pgsizes); in setup() 252 fatal("could not allocate g_pgnames"); in setup() 259 fatal("could not allocate g_pgnames[%d]", i); in setup() 272 fatal("could not allocate data buffer 0"); in setup() 275 fatal("could not allocate data buffer 1"); in setup() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/mdb/ |
H A D | mdbtest | 51 function fatal function 62 mkdir -p $mt_outdir || fatal "failed to make output dir $mt_outdir" 75 [[ -z "$ext" ]] && fatal "found test without ext: $name" 76 [[ -z "$expect" ]] && fatal "found test without prefix: $name" 99 mkdir -p "$odir" >/dev/null || fatal "can't make output directory" 122 mv "$odir" "$mt_outdir/failure.$mt_tfail" || fatal \ 124 cp "$name" "$mt_outdir/failure.$mt_tfail/test" || fatal \ 129 mv "$odir" "$mt_outdir/success.$mt_tsuc" || fatal \ 158 rm -rf "$mt_outdir"/success.* || fatal \ 161 rmdir "$mt_outdir" || fatal \ [all …]
|
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 78 #define PERROR(x) fatal("%s: Illegal Regular Expression\n", targ); 82 static void fatal(char *, char *); 119 fatal("-n num\n", NULL); in main() 162 fatal("Cannot open %s\n", *argv); in main() 265 fatal(char *string, char *arg) in fatal() function 371 fatal("Suffix longer than %ld chars; increase -n\n", in getfile() 380 fatal("Name too long: %s\n", file); in getfile() 392 fatal("Name too long: %s\n", delim + 1); in getfile() 400 fatal("Cannot create %s\n", tfile); in getfile() 438 fatal("%s: bad line number\n", line); in line_arg() [all …]
|
/illumos-gate/usr/src/test/elf-tests/tests/capabilities/ |
H A D | symcap.ksh | 73 fatal() function 89 fatal "sc_obj_hw1 does not match length of sc_obj_hw2" 93 fatal "sc_obj_hw1 does not match length of sc_obj_hw2" 102 fatal "failed to make directory $sc_tmpdir" 118 fatal "failed to write main.c" 140 fatal "failed to write $in" 152 fatal "failed to write $map" 162 fatal "failed to create object file $ofile" 176 fatal "failed to create object cap file $obj" 180 fatal "failed to create symbol cap file $sym" [all …]
|
H A D | objcap.ksh | 53 fatal() function 78 fatal "failed to make directory $oc_tmpdir" 91 fatal "failed to write token C file to $cfile" 102 fatal "failed to write out $mapfile_hw1" 113 fatal "failed to write out $mapfile_hw3" 126 fatal "failed to write out $mapfile_hw3" 130 fatal "failed to create $oc_prog_nocap" 134 fatal "failed to create $oc_prog_hw1" 138 fatal "failed to create $oc_prog_hw1" 142 fatal "failed to create $oc_prog_hw1"
|
/illumos-gate/usr/src/cmd/bdiff/ |
H A D | bdiff.c | 77 static void fatal(char *); 107 fatal("arg count"); in main() 110 fatal("both files standard input"); in main() 117 fatal(Error); in main() 125 fatal(Error); in main() 135 fatal("non-numeric limit"); in main() 153 fatal("Out of memory"); in main() 240 fatal("Can not write to temporary file"); in main() 257 fatal("Can not write to temporary file"); in main() 266 fatal("Can not create pipe"); in main() [all …]
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | compile.c | 164 fatal(_("unexpected EOF (pending }'s)")); in compile_stream() 208 fatal(_("command expected")); in compile_stream() 214 fatal(_("invalid command code %c"), *p); in compile_stream() 216 fatal(_("command %c expects up to %d address(es), " in compile_stream() 240 fatal(_("unexpected }")); in compile_stream() 254 fatal(_("extra characters at the end of %c " in compile_stream() 261 fatal(_("command %c expects \\ " in compile_stream() 266 fatal(_("extra characters after \\ " in compile_stream() 277 fatal(_("filename expected")); in compile_stream() 289 fatal(_("filename expected")); in compile_stream() [all …]
|
/illumos-gate/usr/src/ucbcmd/chown/ |
H A D | chown.c | 62 void fatal(int, char *, char *); 91 fatal(255, "unknown option: %s", optchar); in main() 105 fatal(255, "unknown group: %s", group); in main() 113 fatal(2, in main() 116 fatal(2, "group id invalid: %s", group); in main() 123 fatal(255, "unknown user id: %s", argv[0]); in main() 130 fatal(2, "user id too large: %s", argv[0]); in main() 132 fatal(2, "user id invalid: %s", argv[0]); in main() 175 fatal(255, "%s", savedir); in chownr() 211 fatal(255, "can't change back to %s", savedir); in chownr() [all …]
|
/illumos-gate/usr/src/lib/brand/shared/zone/ |
H A D | common.ksh | 36 fatal() function 101 fatal "$e_baddir" "$dir" 113 fatal "$e_baddir" "$dir" 124 /usr/bin/cp -p $src $dst || fatal "$e_badfile" "$src" 135 /usr/bin/cp -p $src $dst || fatal "$e_badfile" "$src" 146 /usr/bin/mv $src $dst || fatal "$e_badfile" "$src" 613 fatal "$e_absolute_archive" 627 fatal "$e_mismatch_archive" "$base" "$bname" 775 fatal "$e_path_abs" "$insrc" 780 fatal "$e_install_abort" [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 67 static void fatal(char *fmt, ...) __NORETURN; 204 fatal(gettext( in main() 209 fatal(gettext( in main() 216 fatal(gettext("%s: bad maxcontig"), optarg); in main() 223 fatal(gettext( in main() 232 fatal(gettext("%s: bad total tracks"), optarg); in main() 241 fatal(gettext( in main() 249 fatal(gettext( in main() 256 fatal(gettext( in main() 266 fatal(gettext("%s: bad frag size"), optarg); in main() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/libsff/ |
H A D | libsff.ksh | 30 fatal() function 40 cd $(dirname $0) || fatal "failed to cd to test root" 42 cd $dt_origwd || fatal "failed to return to original dir" 49 fatal "failed to run $testfile" 54 fatal "$t results differ from expected values" 60 rm -f $sff_outfile || fatal "failed to remove output file"
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/baddof/ |
H A D | baddof.c | 37 fatal(char *fmt, ...) in fatal() function 104 fatal("couldn't open DTrace pseudo device"); in corrupt() 164 fatal("expected D script as argument\n"); in main() 167 fatal("couldn't open %s", filename); in main() 173 fatal("cannot open dtrace library: %s\n", in main() 181 fatal("failed to compile script %s: %s\n", filename, in main() 189 fatal("could not allocate copy of %d bytes", len); in main() 199 fatal("couldn't open DTrace pseudo device"); in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 139 static void fatal(int, const char *); 306 fatal(STDIN_FILENO, in main() 325 fatal(fd, "Checksums are required and ignored (-c and -i);" in main() 446 fatal(f, "Bad application version length, exiting."); in recvauth() 458 fatal(f, "Unrecognized KCMD protocol, exiting"); in recvauth() 486 fatal(f, "Out of memory error"); in recvauth() 493 fatal(f, "getsockname error"); in recvauth() 549 fatal(f, "Error getting KRB5 session subkey, exiting"); in recvauth() 557 fatal(f, "No KRB5 session subkey sent, exiting"); in recvauth() 568 fatal(f, "KRB5 session subkey not permitted " in recvauth() [all …]
|
H A D | in.fingerd.c | 46 void fatal(char *prog, char *s); 63 fatal(argv[0], "getpeername"); 113 fatal(argv[0], "pipe"); 127 fatal(argv[0], "fork"); 130 fatal(argv[0], "fdopen"); 143 fatal(prog, s) in fatal() function
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmsac.c | 56 fatal("pid file is locked. ttymon may already be " in openpid() 62 fatal("open pid file failed: %s", strerror(errno)); in openpid() 65 fatal("lock pid file failed: %s", strerror(errno)); in openpid() 84 fatal("open sacpipe failed: %s", strerror(errno)); in openpipes() 88 fatal("open pmpipe failed: %s", strerror(errno)); in openpipes() 128 fatal("PMTAG is missing"); in get_environ() 131 fatal("ISTATE is missing"); in get_environ() 184 fatal("pmpipe read failed: %s", in sacpoll()
|
/illumos-gate/usr/src/cmd/scsi/smp/common/ |
H A D | smp.c | 49 static void fatal(int, const char *, ...) __NORETURN; 60 fatal(int err, const char *fmt, ...) in fatal() function 201 fatal(-4, "exec failed: %s", smp_errmsg()); in smp_execute() 211 fatal(-5, "Command failed: Unknown result (0x%x)", in smp_cmd_failed() 214 fatal(-5, "Command failed: %s", smp_result_str); in smp_cmd_failed() 259 fatal(-6, "Expander does not support PHY-based route table\n"); in smp_handle_report_route_info() 273 fatal(-1, "Invalid route index (%d) or PHY ID (%d)\n", in smp_handle_report_route_info() 452 fatal(-1, "Usage: %s <device> <function> ...\n", argv[0]); in smp_validate_args() 457 fatal(-1, "Usage: %s <device> <function> ...\n", argv[0]); in smp_validate_args() 463 fatal(-1, "Usage: %s <device> 0x%x\n", argv[0], func); in smp_validate_args() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | quick_exit.ksh | 34 function fatal function 46 fatal "Test failed: Expected $qestatus32 to exit $stat " \ 52 fatal "Test failed: Expected $qestatus64 to exit $stat " \ 59 $qe_order32 || fatal "$qe_order32 returned $?" 60 $qe_order64 || fatal "$qe_order32 returned $?"
|
/illumos-gate/usr/src/test/util-tests/tests/cpmvln/ |
H A D | overwrite.ksh | 67 function fatal function 91 mkdir "$ovr_work" || fatal "failed to make test directory" 97 echo $f > $targ || fatal "failed to create $f" 100 touch $targ || fatal "failed to create $f" 103 echo $f > $targ || fatal "failed to create $f" 104 chmod 0000 $targ || fatal "failed to chmod $f" 107 $ovr_mkobj -f $targ || fatal "failed to make fifo" 110 $ovr_mkobj -d $targ || fatal "failed to make door" 113 $ovr_mkobj -s $targ || fatal "failed to make uds" 117 fatal "failed to make symlink" [all …]
|
/illumos-gate/usr/src/lib/brand/solaris10/zone/ |
H A D | image_install.ksh | 141 fatal "$incompat_options" "$m_usage" 148 fatal "$incompat_options" "$m_usage" 157 fatal "$incompat_options" "$m_usage" 173 fatal "$incompat_options" "$m_usage" 177 fatal "$media_missing" "$m_usage" 182 fatal "$incompat_options" "$m_usage" 187 fatal "$cfgchoice_missing" "$m_usage" 192 fatal "$e_tmpfile"
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_intr.c | 448 EFSYS_PROBE(fatal); in siena_intr_check_fatal() 510 efx_oword_t fatal; in siena_intr_fatal() local 513 EFX_BAR_READO(enp, FR_AZ_FATAL_INTR_REG_KER, &fatal); in siena_intr_fatal() 516 if (EFX_OWORD_FIELD(fatal, FRF_AZ_SRM_PERR_INT_KER) != 0 || in siena_intr_fatal() 517 EFX_OWORD_FIELD(fatal, FRF_AZ_MEM_PERR_INT_KER) != 0) in siena_intr_fatal() 520 if (EFX_OWORD_FIELD(fatal, FRF_AZ_SRAM_OOB_INT_KER) != 0) in siena_intr_fatal() 523 if (EFX_OWORD_FIELD(fatal, FRF_AZ_BUFID_DC_OOB_INT_KER) != 0) in siena_intr_fatal() 526 if (EFX_OWORD_FIELD(fatal, FRF_AZ_MEM_PERR_INT_KER) != 0) in siena_intr_fatal() 531 if (EFX_OWORD_FIELD(fatal, FRF_AZ_RBUF_OWN_INT_KER) != 0) in siena_intr_fatal() 534 if (EFX_OWORD_FIELD(fatal, FRF_AZ_TBUF_OWN_INT_KER) != 0) in siena_intr_fatal() [all …]
|
/illumos-gate/usr/src/test/elf-tests/tests/assert-deflib/ |
H A D | test-deflib.sh | 38 function fatal function 53 [[ -f $sh_path/$sh_lib/$sh_soname ]] || fatal "missing 32-bit $sh_soname" 55 fatal "missing 64-bit $sh_soname" 56 which $sh_cc >/dev/null || fatal "cc not in path" 74 fatal $4
|