Searched defs:fail (Results 1 - 25 of 87) sorted by relevance

1234

/illumos-gate/usr/src/tools/scripts/
H A Dbuild_cscope.sh47 fail() function
70 fail "cannot find env file as $1 or /opt/onbld/env/$1"
73 [ -z "$SRC" ] && fail "\$SRC is not set"
74 [ ! -d "$SRC" ] && fail "\$SRC ($SRC) is not a directory"
85 xref $flags $dirs || fail "cannot build $name cross-reference"
H A Dxref.sh51 fail() function
100 [ -f $XREFMK ] || fail "cannot locate xref.mk"
191 [ -z "$xrefs" ] && fail "no known cross-reference formats specified"
207 cd $dir || fail "cannot change to directory $dir"
258 fail "$reldir: cannot build $xref cross-reference"
H A Dflg.flp.sh59 fail() function
180 fail "Unable to determine SCM type currently in use."
186 fail "Unsupported SCM in use: $SCM_MODE"
216 fail "neither \$CODEMGR_WS/$1 nor $1 exists as a directory"
238 fail "$SUBTREE is not a subtree of \$CODEMGR_WS"
242 fail "$CURTREE is not a subtree of \$CODEMGR_WS"
H A DInstall.sh46 # If any of these steps fail, Install will give you an error message and,
98 trap 'fail "User Interrupt" "You can resume by typing \"$INSTALL -R\""' 1 2 3 15
173 test -s $INSTALL_STATE || fail "Can't find $INSTALL_STATE"
181 function fail { function
229 [ -d $1 ] || mkdir -p $1 || fail
345 [ -d "$ctop" ] || fail "Can't create tree for crypto modules."
352 [ -d "$root" ] || fail "Can't unpack crypto tarball."
385 fail "can't create $target"
393 ln -s $3 $target || fail "can't create $target"
401 ln $INSTALL_FILES/$3/$4 $target || fail "ca
[all...]
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dfile.c38 int fail = -1; /* assume no permission at onset */ local
49 fail = 0;
53 fail = 0;
56 fail = 0;
59 return( fail );
/illumos-gate/usr/src/test/libc-tests/cmd/
H A Dlibctest.ksh23 function fail function
52 [[ -f $runfile ]] || fail "Cannot read file: $runfile"
59 [[ -z $runfile ]] && fail "Couldn't determine distro"
/illumos-gate/usr/src/test/util-tests/cmd/
H A Dutiltest.ksh23 function fail function
50 [[ -f $runfile ]] || fail "Cannot read file: $runfile"
57 [[ -z $runfile ]] && fail "Couldn't determine distro"
/illumos-gate/usr/src/test/os-tests/cmd/
H A Dostest.ksh23 function fail function
43 [[ -f $runfile ]] || fail "Cannot read file: $runfile"
50 [[ -z $runfile ]] && fail "Couldn't determine distro"
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/include/
H A Dtst.includefirst.ksh61 fail() function
71 [[ $? != 0 ]] && fail "Failed to compile with same file in include path twice"
74 [[ $status != $expexit ]] && fail "Exited with unexpected status code: $status"
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_dts.sh60 fail() { function
66 check ./tester-aslr 0 E || fail "DT_SUNW_ASLR 1 failed"
67 check ./many-dts-aslr 0 E || fail "DT_SUNW_ASLR 1 with many DTs failed"
68 check ./tester-aslr 1 I || fail "DT_SUNW_ASLR 1 incorrectly set the inheritable flag"
71 check ./tester-noaslr 1 E || fail "DT_SUNW_ASLR 0 failed"
72 check ./many-dts-noaslr 1 E || fail "DT_SUNW_ASLR 0 with many DTs failed"
/illumos-gate/usr/src/cmd/lp/model/
H A Duri57 fail() { # exit-code "message" function
75 fail ${EXIT_RETRY} "connection to the printer dropped; off-line?"
79 fail ${EXIT_RETRY} "interrupt from the printer; baud-rate issues?"
83 fail ${EXIT_RETRY} "job cancelled"
141 fail ${EXIT_FATAL} "wrong number of arguments to interface script"
203 fail ${EXIT_FATAL} "invalid device-uri: ${DEVICE_URI}, reset with lpadmin -v"
225 fail ${ERR_FATAL} \
/illumos-gate/usr/src/test/zfs-tests/cmd/scripts/
H A Dzfstest.ksh32 function fail function
79 [[ $(id -u) = "0" ]] && fail "This script must not be run as root."
82 [[ $? -eq 0 ]] || fail "User must be able to sudo without a password."
100 [[ -n $PATHDIR ]] || fail "PATHDIR wasn't correctly set"
103 [[ ! -e $PATHDIR/$i ]] || fail "$i already exists"
104 ln -s $dir/$i $PATHDIR/$i || fail "Couldn't link $i"
114 chmod 755 $PATHDIR || fail "Couldn't chmod $PATHDIR"
136 [[ -f $runfile ]] || fail "Cannot read file: $runfile"
149 fail "\$DISKS not set in env, and -a not specified."
151 verify_disks || fail "Could
[all...]
/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Daes_test.c74 int fail; local
85 fail = 0;
100 fail++;
105 fail++;
107 if (fail == 0)
114 return (fail);
H A Dhmac_test.c59 int fail; local
123 fail = 0;
132 fail++;
137 return (fail);
H A Dsha1_test.c84 int fail; local
94 fail = 0;
109 fail++;
115 return (fail);
H A Ddes3_test.c38 * fail the keycheck.
117 int fail; local
128 fail = 0;
147 fail++;
154 fail++;
156 if (fail == 0)
163 return (fail);
172 int fail = 0; local
184 fail++;
199 fail
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddtest.pl119 sub fail subroutine
466 fail("died from signal $wtermsig");
476 fail("returned $wexitstat instead of $status");
482 fail("stdout mismatch", "$pid.out");
488 fail("stderr mismatch: see $pid.err");
498 fail("errtag mismatch: see $pid.err");
517 fail("droptag mismatch: see $pid.err");
620 $ENV{'UMEM_LOGGING'} = 'fail,contents';
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_get.c102 const char *fail; local
106 fail = np = tbuf = NULL;
198 fail = np;
208 fail = "seek";
212 fail = "read";
277 fail = "read";
316 fail = "read";
319 if (fail == NULL)
323 "log_get: %s: %s", fail, strerror(ret));
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_regset.c79 boolean_t fail = B_FALSE; local
83 fail = B_TRUE;
90 if (fail && getenv("DTRACE_DEBUG_REGSET") != NULL)
/illumos-gate/usr/src/cmd/stat/common/
H A Dcommon.c39 fail(int do_perror, char *message, ...) function
113 fail(1, "nanosleep failed");
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlog.c54 ** fail() - LOG MESSAGE AND EXIT (ABORT IF DEBUGGING)
59 fail(char *format, ...) function
100 fail ("Memory allocation failed!\n");
/illumos-gate/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c228 int fail = 0; local
308 * NULL authtoks are not allowed, so we need to fail.
320 fail = 1;
342 if (fail) {
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_err.c240 fail(const char *format, ...) function
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_host.c159 sda_host_fault(sda_host_t *h, int num, sda_fault_t fail) argument
161 sda_slot_fault(&h->h_slots[num], fail);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypcat.c108 int fail = 0; local
128 cbinfo.data = (char *)&fail;
134 fail = TRUE;
138 exit(fail);
213 callback(status, key, kl, val, vl, fail)
219 int *fail;
236 *fail = TRUE;

Completed in 181 milliseconds

1234