/external/openssh/regress/ |
D | sftp-cmds.sh | 32 grep copy.dd >/dev/null 2>&1 || fail "lls failed" 36 grep copy.dd >/dev/null 2>&1 || fail "lls w/path failed" 40 || fail "ls failed" 45 || fail "shell failed" 50 || fail "pwd failed" 55 || fail "lpwd failed" 60 || fail "quit failed" 65 || fail "help failed" 71 || fail "get failed" 72 cmp $DATA ${COPY} || fail "corrupted copy after get" [all …]
|
D | scp.sh | 32 $SCP $scpopts ${DATA} ${COPY} || fail "copy failed" 33 cmp ${DATA} ${COPY} || fail "corrupted copy" 37 $SCP $scpopts ${DATA} somehost:${COPY} || fail "copy failed" 38 cmp ${DATA} ${COPY} || fail "corrupted copy" 42 $SCP $scpopts somehost:${DATA} ${COPY} || fail "copy failed" 43 cmp ${DATA} ${COPY} || fail "corrupted copy" 48 $SCP $scpopts ${COPY} somehost:${DIR} || fail "copy failed" 49 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 54 $SCP $scpopts ${COPY} ${DIR} || fail "copy failed" 55 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" [all …]
|
D | sftp-badcmds.sh | 15 || fail "get nonexistent failed" 16 test -f ${COPY} && fail "existing copy after get nonexistent" 21 || fail "get nonexistent failed" 23 test -f ${COPY}.dd/$x && fail "existing copy after get nonexistent" 29 || fail "put nonexistent failed" 30 test -f ${COPY} && fail "existing copy after put nonexistent" 35 || fail "put nonexistent failed" 37 test -f ${COPY}.dd/$x && fail "existing copy after nonexistent" 43 || fail "rename nonexist failed" 44 test -f ${COPY}.1 && fail "file exists after rename nonexistent" [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_offload.py | 77 def fail(cond, msg): function 89 def cmd(cmd, shell=True, include_stderr=False, background=False, fail=True): argument 102 return cmd_result(proc, include_stderr=include_stderr, fail=fail) 104 def cmd_result(proc, include_stderr=False, fail=False): argument 121 if proc.returncode != 0 and fail: 136 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False): argument 146 fail=fail, include_stderr=True) 149 fail=fail, include_stderr=False) 161 def bpftool(args, JSON=True, ns="", fail=True, include_stderr=False): argument 163 fail=fail, include_stderr=include_stderr) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_types.py | 12 if None: self.fail('None is true instead of false') 13 if 0: self.fail('0 is true instead of false') 14 if 0L: self.fail('0L is true instead of false') 15 if 0.0: self.fail('0.0 is true instead of false') 16 if '': self.fail('\'\' is true instead of false') 17 if not 1: self.fail('1 is false instead of true') 18 if not 1L: self.fail('1L is false instead of true') 19 if not 1.0: self.fail('1.0 is false instead of true') 20 if not 'x': self.fail('\'x\' is false instead of true') 21 if not {'x': 1}: self.fail('{\'x\': 1} is false instead of true') [all …]
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | execveat.c | 154 int fail = 0; in check_execveat_pathmax() local 197 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax() 201 fail++; in check_execveat_pathmax() 215 fail += check_execveat_invoked_rc(root_dfd, longpath + 1, 0, in check_execveat_pathmax() 218 fail += check_execveat(root_dfd, longpath + 1, 0); in check_execveat_pathmax() 220 return fail; in check_execveat_pathmax() 225 int fail = 0; in run_tests() local 263 fail += check_execveat(subdir_dfd, "../execveat", 0); in run_tests() 264 fail += check_execveat(dot_dfd, "execveat", 0); in run_tests() 265 fail += check_execveat(dot_dfd_path, "execveat", 0); in run_tests() [all …]
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl21.c | 75 int fail; variable 116 fail = 1; in setup() 143 fail = 1; in do_child() 179 fail = 1; in compare_lock() 185 fail = 1; in compare_lock() 191 fail = 1; in compare_lock() 198 fail = 1; in compare_lock() 204 fail = 1; in compare_lock() 214 fail = 1; in unlock_file() 241 fail = 1; in parent_put() [all …]
|
D | fcntl19.c | 81 int fail = 0; variable 118 fail = 1; in setup() 172 fail = 1; in compare_lock() 178 fail = 1; in compare_lock() 184 fail = 1; in compare_lock() 191 fail = 1; in compare_lock() 197 fail = 1; in compare_lock() 207 fail = 1; in unlock_file() 234 fail = 1; in parent_put() 242 fail = 1; in parent_get() [all …]
|
D | fcntl20.c | 77 int fail = 0; variable 135 fail = 1; in do_child() 171 fail = 1; in compare_lock() 177 fail = 1; in compare_lock() 183 fail = 1; in compare_lock() 190 fail = 1; in compare_lock() 196 fail = 1; in compare_lock() 206 fail = 1; in unlock_file() 233 fail = 1; in parent_put() 241 fail = 1; in parent_get() [all …]
|
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/preemptirq/ |
D | irqsoff_tracer.tc | 7 fail() { 31 modprobe $MOD test_mode=preempt delay=500000 || fail 32 rmmod $MOD || fail 33 modprobe $MOD test_mode=preempt delay=500000 || fail 34 rmmod $MOD || fail 35 modprobe $MOD test_mode=preempt delay=500000 || fail 36 rmmod $MOD || fail 41 grep -q "tracer: preemptoff" trace || fail 44 egrep -q "5.....us : <stack trace>" trace || fail 47 egrep -q "latency: 5..... us" trace || fail [all …]
|
/external/curl/tests/unit/ |
D | unit1653.c | 54 goto fail; 57 goto fail; 68 goto fail; 71 goto fail; 79 goto fail; 82 goto fail; 91 goto fail; 94 goto fail; 107 goto fail; 110 goto fail; [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | BooleanArrayListTest.java | 88 fail(); in testModificationWithIteration() 97 fail(); in testModificationWithIteration() 110 fail(); in testGet() 117 fail(); in testGet() 130 fail(); in testGetInt() 137 fail(); in testGetInt() 173 fail(); in testSet() 180 fail(); in testSet() 198 fail(); in testSetInt() 205 fail(); in testSetInt() [all …]
|
D | DoubleArrayListTest.java | 88 fail(); in testModificationWithIteration() 97 fail(); in testModificationWithIteration() 110 fail(); in testGet() 117 fail(); in testGet() 130 fail(); in testGetInt() 137 fail(); in testGetInt() 173 fail(); in testSet() 180 fail(); in testSet() 198 fail(); in testSetInt() 205 fail(); in testSetInt() [all …]
|
D | LongArrayListTest.java | 88 fail(); in testModificationWithIteration() 97 fail(); in testModificationWithIteration() 110 fail(); in testGet() 117 fail(); in testGet() 130 fail(); in testGetLong() 137 fail(); in testGetLong() 173 fail(); in testSet() 180 fail(); in testSet() 198 fail(); in testSetLong() 205 fail(); in testSetLong() [all …]
|
D | IntArrayListTest.java | 88 fail(); in testModificationWithIteration() 97 fail(); in testModificationWithIteration() 110 fail(); in testGet() 117 fail(); in testGet() 130 fail(); in testGetInt() 137 fail(); in testGetInt() 173 fail(); in testSet() 180 fail(); in testSet() 198 fail(); in testSetInt() 205 fail(); in testSetInt() [all …]
|
D | FloatArrayListTest.java | 88 fail(); in testModificationWithIteration() 97 fail(); in testModificationWithIteration() 110 fail(); in testGet() 117 fail(); in testGet() 130 fail(); in testGetFloat() 137 fail(); in testGetFloat() 173 fail(); in testSet() 180 fail(); in testSet() 198 fail(); in testSetFloat() 205 fail(); in testSetFloat() [all …]
|
D | ProtobufArrayListTest.java | 76 fail(); in testModificationWithIteration() 85 fail(); in testModificationWithIteration() 94 fail(); in testModificationWithIteration() 149 fail(); in assertImmutable() 156 fail(); in assertImmutable() 163 fail(); in assertImmutable() 170 fail(); in assertImmutable() 177 fail(); in assertImmutable() 184 fail(); in assertImmutable() 191 fail(); in assertImmutable() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PreconditionsTest.java | 41 fail("no exception thrown"); in testCheckArgument_simple_failure() 53 fail("no exception thrown"); in testCheckArgument_simpleMessage_failure() 62 fail("no exception thrown"); in testCheckArgument_nullMessage_failure() 75 fail("no exception thrown"); in testCheckArgument_complexMessage_failure() 88 fail("no exception thrown"); in testCheckState_simple_failure() 100 fail("no exception thrown"); in testCheckState_simpleMessage_failure() 109 fail("no exception thrown"); in testCheckState_nullMessage_failure() 122 fail("no exception thrown"); in testCheckState_complexMessage_failure() 138 fail("no exception thrown"); in testCheckNotNull_simple_failure() 151 fail("no exception thrown"); in testCheckNotNull_simpleMessage_failure() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | PreconditionsTest.java | 39 fail("no exception thrown"); in testCheckArgument_simple_failure() 51 fail("no exception thrown"); in testCheckArgument_simpleMessage_failure() 60 fail("no exception thrown"); in testCheckArgument_nullMessage_failure() 73 fail("no exception thrown"); in testCheckArgument_complexMessage_failure() 86 fail("no exception thrown"); in testCheckState_simple_failure() 98 fail("no exception thrown"); in testCheckState_simpleMessage_failure() 107 fail("no exception thrown"); in testCheckState_nullMessage_failure() 120 fail("no exception thrown"); in testCheckState_complexMessage_failure() 136 fail("no exception thrown"); in testCheckNotNull_simple_failure() 149 fail("no exception thrown"); in testCheckNotNull_simpleMessage_failure() [all …]
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | MathPreconditionsTest.java | 36 fail(); in testCheckPositive_zeroInt() 47 fail(); in testCheckPositive_minInt() 58 fail(); in testCheckPositive_negativeInt() 65 fail(); in testCheckPositive_zeroLong() 76 fail(); in testCheckPositive_minLong() 87 fail(); in testCheckPositive_negativeLong() 94 fail(); in testCheckPositive_zeroBigInteger() 105 fail(); in testCheckPositive_negativeBigInteger() 120 fail(); in testCheckNonNegative_minInt() 131 fail(); in testCheckNonNegative_negativeInt() [all …]
|
/external/ltp/testcases/kernel/syscalls/getpgid/ |
D | getpgid01.c | 65 int ex_stat, fail = 0; in main() local 88 fail = 0; in main() 91 fail = 1; in main() 94 if (fail) in main() 102 fail = 0; in main() 111 fail = 1; in main() 113 if (fail) in main() 123 fail = 0; in main() 132 fail = 1; in main() 135 if (fail) { in main() [all …]
|
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_traceonoff_triggers.tc | 19 fail() { # mesg 38 fail "Found junk in trace" 51 fail "Nothing found in trace" 80 fail "Did not find traceoff trigger" 88 fail "Tracing is not stopped" 93 fail "Tracing is not off" 101 fail "Tracing file is still changing" 108 fail "Tracing is still happeing" 115 fail "traceoff trigger still exists" 120 fail "Tracing is started again" [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fInfoLogQueryShared.cpp | 55 result.fail("Return buffer was not INFO_LOG_LENGTH sized and null-terminated"); in verifyInfoLogQuery() 57 result.fail("Buffer end guard modified, query wrote over the end of the buffer."); in verifyInfoLogQuery() 70 result.fail("'length' was not written to"); in verifyInfoLogQuery() 72 result.fail("Either length was incorrect or result was not null-terminated"); in verifyInfoLogQuery() 74 result.fail("'length' characters + null terminator is larger than INFO_LOG_LENGTH"); in verifyInfoLogQuery() 76 result.fail("'length' is not consistent with INFO_LOG_LENGTH"); in verifyInfoLogQuery() 78 result.fail("Buffer end guard modified, query wrote over the end of the buffer."); in verifyInfoLogQuery() 80 result.fail("'length' and written string length do not match"); in verifyInfoLogQuery() 93 result.fail("'length' was not written to"); in verifyInfoLogQuery() 95 result.fail("Expected 'length' = 1"); in verifyInfoLogQuery() [all …]
|
/external/libcxxabi/test/ |
D | testit | 38 fail=0 40 if (ls *.fail.cpp > /dev/null 2>&1) 42 for FILE in $(ls *.fail.cpp); do 47 fail=$(($fail + 1)) 65 fail=$(($fail + 1)) 70 fail=$(($fail + 1)) 75 if [ $fail -gt 0 ] 77 echo "failed $fail tests in `pwd`" 83 if [ $fail -eq 0 ] 88 if [ $fail -eq 0 -a $pass -eq 0 ] [all …]
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StubbingConsecutiveAnswersTest.java | 96 fail(); in should_return_consecutive_value_and_throw_exceptions_set_by_shorten_return_methods() 100 fail(); in should_return_consecutive_value_and_throw_exceptions_set_by_shorten_return_methods() 105 fail(); in should_return_consecutive_value_and_throw_exceptions_set_by_shorten_return_methods() 117 fail(); in should_throw_consecutively() 122 fail(); in should_throw_consecutively() 127 fail(); in should_throw_consecutively() 132 fail(); in should_throw_consecutively() 144 fail(); in should_throw_consecutively_set_by_shorten_then_throw_method() 149 fail(); in should_throw_consecutively_set_by_shorten_then_throw_method() 154 fail(); in should_throw_consecutively_set_by_shorten_then_throw_method() [all …]
|