Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/applypatch/
Dapplypatch.sh61 fail() { function
110 run_command $WORK_DIR/applypatch && fail
113 run_command $WORK_DIR/applypatch -l | grep -q -i copyright || fail
121 run_command $WORK_DIR/applypatch -c $WORK_DIR/old.file $OLD_SHA1 || fail
124 run_command $WORK_DIR/applypatch -c $WORK_DIR/old.file $BAD1_SHA1 $OLD_SHA1 $BAD2_SHA1|| fail
127 run_command $WORK_DIR/applypatch -c $WORK_DIR/old.file $BAD2_SHA1 $BAD1_SHA1 && fail
131 run_command dd if=/dev/urandom of=$WORK_DIR/old.file count=100 bs=1024 || fail
134 run_command $WORK_DIR/applypatch -c $WORK_DIR/old.file $OLD_SHA1 || fail
137 run_command $WORK_DIR/applypatch -c $WORK_DIR/old.file $BAD1_SHA1 $OLD_SHA1 $BAD2_SHA1|| fail
140 run_command $WORK_DIR/applypatch -c $WORK_DIR/old.file $BAD2_SHA1 $BAD1_SHA1 && fail
[all …]
Dimgdiff_test.sh47 fail() { function
90 $ADB push $tmpdir/source $WORK_DIR/source || fail "source push failed"
92 $ADB push $tmpdir/patch $WORK_DIR/patch || fail "patch push failed"
96 || fail "applypatch of $fn failed"
98 diff -q $tmpdir/target $tmpdir/result || fail "patch output not correct!"
/bootable/recovery/otautil/
DDirUtil.cpp170 int fail = 0; in dirUnlinkHierarchy() local
198 fail = 1; in dirUnlinkHierarchy()
204 if (fail || errno < 0) { in dirUnlinkHierarchy()
/bootable/recovery/
DREADME.md37 - Execute the test on an A/B device first. The test should fail but it will log