Home
last modified time | relevance | path

Searched refs:TMP (Results 1 – 25 of 176) sorted by relevance

12345678

/external/vboot_reference/tests/futility/
Dtest_gbb_utility.sh7 TMP="$me.tmp"
18 ${FUTILITY} gbb_utility -c 16,0x10,16,0x10 ${TMP}.blob
21 ${FUTILITY} gbb_utility -s --flags=0xdeadbeef ${TMP}.blob
22 ${FUTILITY} gbb_utility -g --flags ${TMP}.blob | grep -i 0xdeadbeef
25 if ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDEF" ${TMP}.blob; then
29 ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDE" ${TMP}.blob
31 ${FUTILITY} gbb_utility -g ${TMP}.blob | grep "0123456789ABCDE"
36 dd if=/dev/urandom bs=17 count=1 of=${TMP}.data1.toolong
37 dd if=/dev/urandom bs=17 count=1 of=${TMP}.data2.toolong
38 dd if=/dev/urandom bs=17 count=1 of=${TMP}.data3.toolong
[all …]
Dtest_sign_kernel.sh7 TMP="$me.tmp"
14 echo "hi there" > ${TMP}.config.txt
15 echo "hello boys" > ${TMP}.config2.txt
16 dd if=/dev/urandom bs=512 count=1 of=${TMP}.bootloader.bin
17 dd if=/dev/urandom bs=512 count=1 of=${TMP}.bootloader2.bin
18 dd if=/dev/urandom bs=1M count=16 of=${TMP}.kern_partition
30 --pack ${TMP}.blob1.${arch} \
34 --config ${TMP}.config.txt \
35 --bootloader ${TMP}.bootloader.bin \
42 ${FUTILITY} vbutil_kernel --verify ${TMP}.blob1.${arch} \
[all …]
Dtest_dump_fmap.sh7 TMP="$me.tmp"
13 "$FUTILITY" dump_fmap -F "${SCRIPTDIR}/data_fmap.bin" > "$TMP"
14 cmp "${SCRIPTDIR}/data_fmap_expect_f.txt" "$TMP"
16 "$FUTILITY" dump_fmap -p "${SCRIPTDIR}/data_fmap.bin" > "$TMP"
17 cmp "${SCRIPTDIR}/data_fmap_expect_p.txt" "$TMP"
19 "$FUTILITY" dump_fmap -h "${SCRIPTDIR}/data_fmap.bin" > "$TMP"
20 cmp "${SCRIPTDIR}/data_fmap_expect_h.txt" "$TMP"
31 "$FUTILITY" dump_fmap -x "${SCRIPTDIR}/data_fmap.bin" SI_DESC > "$TMP"
32 cmp "${SCRIPTDIR}/data_fmap_expect_x.txt" "$TMP"
35 "$FUTILITY" dump_fmap -x "${SCRIPTDIR}/data_fmap.bin" SI_DESC:FOO > "$TMP"
[all …]
Dtest_sign_keyblocks.sh7 TMP="$me.tmp"
19 ${FUTILITY} vbutil_keyblock --pack ${TMP}.keyblock0 \
25 ${FUTILITY} vbutil_keyblock --unpack ${TMP}.keyblock0 \
29 cmp ${DEVKEYS}/firmware.keyblock ${TMP}.keyblock0
37 --outfile ${TMP}.keyblock1
40 cmp ${DEVKEYS}/firmware.keyblock ${TMP}.keyblock1
46 ${FUTILITY} vbutil_keyblock --pack ${TMP}.keyblock0 \
54 ${TMP}.keyblock1
56 cmp ${TMP}.keyblock0 ${TMP}.keyblock1
62 ${FUTILITY} vbutil_keyblock --pack ${TMP}.keyblock2 \
[all …]
Dtest_show_vs_verify.sh7 TMP="$me.tmp"
32 GBB:${TMP}.gbb VBLOCK_A:${TMP}.vblock_a FW_MAIN_A:${TMP}.fw_main_a
33 ${FUTILITY} gbb_utility -g -k ${TMP}.rootkey ${TMP}.gbb
36 ${FUTILITY} show ${TMP}.vblock_a
38 ${FUTILITY} show ${TMP}.vblock_a --publickey ${TMP}.rootkey
40 ${FUTILITY} show ${TMP}.vblock_a \
41 --publickey ${TMP}.rootkey \
42 --fv ${TMP}.fw_main_a
44 if ${FUTILITY} verify ${TMP}.vblock_a ; then false ; fi
46 if ${FUTILITY} verify ${TMP}.vblock_a \
[all …]
Dtest_show_kernel.sh7 TMP="$me.tmp"
18 echo "hi there" > ${TMP}.config.txt
19 dd if=/dev/urandom bs=16384 count=1 of=${TMP}.bootloader.bin
20 dd if=/dev/urandom bs=32768 count=1 of=${TMP}.kernel.bin
23 ${FUTILITY} vbutil_key --pack ${TMP}.datakey.test \
28 ${FUTILITY} vbutil_keyblock --pack ${TMP}.keyblock.test \
29 --datapubkey ${TMP}.datakey.test \
35 --pack ${TMP}.kernel.test \
36 --keyblock ${TMP}.keyblock.test \
40 --vmlinuz ${TMP}.kernel.bin \
[all …]
Dtest_sign_fw_main.sh7 TMP="$me.tmp"
15 dd bs=1024 count=16 if=/dev/urandom of=${TMP}.fw_main
18 ${FUTILITY} vbutil_firmware --vblock ${TMP}.vblock.old \
22 --fv ${TMP}.fw_main \
27 ${FUTILITY} vbutil_firmware --verify ${TMP}.vblock.old \
29 --fv ${TMP}.fw_main
37 --fv ${TMP}.fw_main \
39 ${TMP}.vblock.new
42 cmp ${TMP}.vblock.old ${TMP}.vblock.new
45 rm -rf ${TMP}*
Dtest_sign_firmware.sh7 TMP="$me.tmp"
43 outfile=${TMP}.${base}.new
45 loemdir=${TMP}.${base}_dir
96 | sed -e 's/.*: \+//' > ${TMP}.${base}.sha.new
97 cmp ${SCRIPTDIR}/data_${base}_expect.txt ${TMP}.${base}.sha.new
122 GOOD_OUT=${TMP}.${GOOD_VBLOCKS##*/}.new
123 MORE_OUT=${TMP}.${ONEMORE##*/}.new
126 | awk '/Firmware body size:/ {print $4}' > ${TMP}.good.body
128 | awk '/FW_MAIN_/ {print $3}' > ${TMP}.good.fw_main
130 if cmp ${TMP}.good.body ${TMP}.good.fw_main; then false; fi
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dvec-args-06.ll9 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
10 ; CHECK: vl %v24, 0([[TMP]])
11 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
12 ; CHECK: vl %v26, 0([[TMP]])
13 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
14 ; CHECK: vl %v28, 0([[TMP]])
15 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
16 ; CHECK: vl %v30, 0([[TMP]])
17 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
18 ; CHECK: vl %v25, 0([[TMP]])
[all …]
Dargs-07.ll31 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
32 ; CHECK: ldeb %f0, 0([[TMP]])
33 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
34 ; CHECK: ldeb %f2, 0([[TMP]])
35 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
36 ; CHECK: ldeb %f4, 0([[TMP]])
37 ; CHECK: larl [[TMP:%r[0-5]]], .LCPI
38 ; CHECK: ldeb %f6, 0([[TMP]])
47 ; CHECK: llihh [[TMP:%r[0-5]]], 16404
48 ; CHECK: stg [[TMP]], 32(%r2)
[all …]
/external/e2fsprogs/tests/scripts/
Dmkdup5 TMP=$(mktemp)
17 dd if=/dev/zero of=$TMP bs=$SIZE_A count=1 >& /dev/null
19 $DEBUGFS -w -R "write $TMP a" $IMG
21 cp /dev/null $TMP
23 for i in $BLKS ; do echo "freeb $i" >> $TMP; done
24 $DEBUGFS -w $IMG < $TMP >& /dev/null
27 dd if=/dev/zero of=$TMP bs=$SIZE_B count=1 >& /dev/null
28 $DEBUGFS -w -R "write $TMP b" $IMG
31 cp /dev/null $TMP
33 for i in $BLKS ; do echo "freeb $i" >> $TMP; done
[all …]
/external/ltp/testscripts/
Dltp-aiodio.sh20 export TMP=${TMP:=/tmp}
134 mkdir $TMP > /dev/null 2>&1
135 mkdir $TMP/aiodio > /dev/null 2>&1
136 mkdir $TMP/aiodio2 > /dev/null 2>&1
148 mount -t ext2 $part1 $TMP/aiodio
151 mount -t ext3 $part2 $TMP/aiodio2
154 mount -t jfs $part2 $TMP/aiodio2
157 mount -t xfs $part2 $TMP/aiodio2
168 mount -t ext3 $part1 $TMP/aiodio
171 mount -t jfs $part2 $TMP/aiodio2
[all …]
/external/llvm/utils/TableGen/
Dtdtags116 TMP=${TMPDIR:-/tmp}/$SELF:$$
117 trap "rm -f $TMP*" 0
119 >$TMP:D
152 >$TMP:E
153 >$TMP:J
159 printf '%s\n' "$i" >>$TMP:E
160 sed -n -e 's/include[[:space:]]"\(.*\)".*/\1/p' <"$i" >>$TMP:J
166 sort -u <$TMP:E >$TMP:X
167 sort -u <$TMP:J >$TMP:I
169 comm -23 $TMP:X $TMP:I >$TMP:T
[all …]
/external/ltp/testcases/kernel/fs/acls/
Dacl_test0146 TMP=${TMP:=/tmp}
51 TEST_USER1_HOMEDIR="$TMP/tacl/mount-ext3/$TEST_USER1"
53 FILE_ACL="$TMP/tacl/mount-ext3/test_file"
54 FILE_ACL_LINK="$TMP/tacl/mount-ext3/test_file_link"
68 if ! ( test -d $TMP/tacl || mkdir -m 777 $TMP/tacl) ; then
69 tst_brkm TBROK "Failed to create $TMP/tacl directory."
72 dd if=/dev/zero of=$TMP/tacl/blkext3 bs=1k count=10240 && chmod 777 $TMP/tacl/blkext3
74 tst_brkm TBROK "Failed to create $TMP/tacl/blkext3"
81 if ! losetup $LOOP_DEV $TMP/tacl/blkext3 2>&1 > /dev/null; then
89 mkdir -m 777 $TMP/tacl/mount-ext3
[all …]
/external/ltp/
Drunltp547 echo "FATAL: Unable to make temporary directory: $TMP"
553 export TMPDIR=$TMP
555 chmod 777 $TMP || \
557 echo "unable to chmod 777 $TMP ... aborting"
561 cd $TMP || \
563 echo "could not cd ${TMP} ... exiting"
569 INSTANCES="$INSTANCES -O ${TMP}"
618 cat_ok_sentinel=$TMP/cat_ok.$$
629 cat $scenfile >> "$TMP/alltests" || {
631 rm -Rf "$TMP"
[all …]
Drunltplite.sh51 export TMP="${TMPBASE}/ltp-$$"
135 TMP="${TMPBASE}/ltp-$$"
136 export TMPDIR="$TMP";;
199 mkdir -p $TMP || \
201 echo "FATAL: Unable to make temporary directory $TMP"
205 cd $TMP || \
207 echo "could not cd ${TMP} ... exiting"
244 cat $CMDFILE > ${TMP}/alltests || \
259 cat_ok_sentinel=$TMP/cat_ok.$$
270 cat $scenfile >> "$TMP/alltests" || {
[all …]
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
Ddo-plot4 TMP=$(mktemp -d /tmp/tmp.XXXXXX)
9 rm -rf $TMP
34 cat > $TMP/gnuplot.script <<EOF
41 grep "#[ ]*EVENT" $FILE | sed 's/#//' > $TMP/events
42 cat $TMP/events | while read event x text
52 echo "set arrow from $x, graph 0 to $x, graph 0.$height" >> $TMP/gnuplot.script
53 echo "set label \"$text\" at $x, graph 0.$height_text center" >> $TMP/gnuplot.script
58 echo "set key left top box lt 0" >> $TMP/gnuplot.script
60 echo "plot '$FILE' using 1:2 title \"${column[$count]}\" $with" >> $TMP/gnuplot.script
65 >> $TMP/gnuplot.script
[all …]
/external/llvm/test/CodeGen/ARM/
Dunaligned_load_store_vfp.ll5 ; CHECK: ldr [[TMP:r[0-9]+]], [r0]
6 ; CHECK: vmov [[RES_INT:s[0-9]+]], [[TMP]]
16 ; CHECK: ldr [[TMP:r[0-9]+]], [r0]
17 ; CHECK: vmov [[RES_INT:s[0-9]+]], [[TMP]]
27 ; CHECK: ldr [[TMP:r[0-9]+]], [r0]
28 ; CHECK: vmov [[RES_INT:s[0-9]+]], [[TMP]]
38 ; CHECK: ldr [[TMP:r[0-9]+]], [r0]
39 ; CHECK: vmov [[RES_INT:s[0-9]+]], [[TMP]]
49 ; CHECK: vmov [[TMP:r[0-9]+]], s0
50 ; CHECK: str [[TMP]], [r0]
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/
Ddo-plot16 TMP=$(mktemp -d)
20 rm -rf $TMP
54 cat > $TMP/gnuplot.script <<EOF
65 grep "#[ ]*EVENT" $FILE | sed 's/#//' > $TMP/events
66 events=$(cat $TMP/events | wc -l)
74 cat $TMP/events | while read event x text
84 echo "set arrow from $x, graph 0 to $x, graph 0.$height" >> $TMP/gnuplot.script
85 echo "set label \"$text\" at $x, graph 0.$height_text center" >> $TMP/gnuplot.script
99 echo $plot_cmd >> $TMP/gnuplot.script
102 ( cat $TMP/gnuplot.script; cat ) | gnuplot
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
Ddo-plot16 TMP=$(mktemp -d)
20 rm -rf $TMP
54 cat > $TMP/gnuplot.script <<EOF
65 grep "#[ ]*EVENT" $FILE | sed 's/#//' > $TMP/events
66 events=$(cat $TMP/events | wc -l)
74 cat $TMP/events | while read event x text
84 echo "set arrow from $x, graph 0 to $x, graph 0.$height" >> $TMP/gnuplot.script
85 echo "set label \"$text\" at $x, graph 0.$height_text center" >> $TMP/gnuplot.script
99 echo $plot_cmd >> $TMP/gnuplot.script
102 ( cat $TMP/gnuplot.script; cat ) | gnuplot
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
Ddo-plot16 TMP=$(mktemp -d)
20 rm -rf $TMP
54 cat > $TMP/gnuplot.script <<EOF
65 grep "#[ ]*EVENT" $FILE | sed 's/#//' > $TMP/events
66 events=$(cat $TMP/events | wc -l)
74 cat $TMP/events | while read event x text
84 echo "set arrow from $x, graph 0 to $x, graph 0.$height" >> $TMP/gnuplot.script
85 echo "set label \"$text\" at $x, graph 0.$height_text center" >> $TMP/gnuplot.script
99 echo $plot_cmd >> $TMP/gnuplot.script
102 ( cat $TMP/gnuplot.script; cat ) | gnuplot
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
Ddo-plot16 TMP=$(mktemp -d)
20 rm -rf $TMP
54 cat > $TMP/gnuplot.script <<EOF
65 grep "#[ ]*EVENT" $FILE | sed 's/#//' > $TMP/events
66 events=$(cat $TMP/events | wc -l)
74 cat $TMP/events | while read event x text
84 echo "set arrow from $x, graph 0 to $x, graph 0.$height" >> $TMP/gnuplot.script
85 echo "set label \"$text\" at $x, graph 0.$height_text center" >> $TMP/gnuplot.script
99 echo $plot_cmd >> $TMP/gnuplot.script
102 ( cat $TMP/gnuplot.script; cat ) | gnuplot
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Ddo-plot16 TMP=$(mktemp -d)
20 rm -rf $TMP
54 cat > $TMP/gnuplot.script <<EOF
65 grep "#[ ]*EVENT" $FILE | sed 's/#//' > $TMP/events
66 events=$(cat $TMP/events | wc -l)
74 cat $TMP/events | while read event x text
84 echo "set arrow from $x, graph 0 to $x, graph 0.$height" >> $TMP/gnuplot.script
85 echo "set label \"$text\" at $x, graph 0.$height_text center" >> $TMP/gnuplot.script
99 echo $plot_cmd >> $TMP/gnuplot.script
102 cat $TMP/gnuplot.script | gnuplot
[all …]
/external/autotest/server/site_tests/platform_GCC/
Ddejagnu_remote.sh24 TMP="/tmp/dejagnu-tests/"
25 TMP_PRIVATE_KEY=${TMP}/private_key
26 TMP_KNOWN_HOSTS=${TMP}/known_hosts
27 CONTROL_PATH="${TMP}/%r@%h:%p"
32 mkdir -p ${TMP}
37 echo $! > "${TMP}/master-pid"
43 kill "$(cat ${TMP}/master-pid)"
45 rm -rf "${TMP}"
/external/tcpdump/
Dmkdep57 TMP=/tmp/mkdep$$
63 sed -e '/DO NOT DELETE THIS LINE/,$d' < $MAKE > $TMP
65 cat << _EOF_ >> $TMP
102 }' >> $TMP
104 cat << _EOF_ >> $TMP
110 cp $TMP $MAKE
111 rm -f ${MAKE}.bak $TMP

12345678