Searched refs:TMP (Results 1 - 25 of 64) sorted by relevance

123

/external/vboot_reference/tests/futility/
H A 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...]
H A 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}
[all...]
H A 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}
[all...]
H A 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}
[all...]
H A 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}
[all...]
H A 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}
[all...]
H A 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}
[all...]
H A Dtest_create.sh7 TMP="$me.tmp"
19 "${TESTKEYS}/key_${sig}.pem" "${TMP}_key_${sig}.${hash}"
21 "${TMP}_key_${sig}.${hash}.vbprivk"
23 "${TMP}_key_${sig}.${hash}.vbpubk"
33 "${TESTKEYS}/key_${sig}.pem" "${TMP}_key_${sig}.${hash}"
38 rm -rf ${TMP}*
H A 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}
[all...]
/external/libpcap/
H A Dmkdep57 TMP=/tmp/mkdep$$
59 trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
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
/external/tcpdump/
H A Dmkdep57 TMP=/tmp/mkdep$$
59 trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
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
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
H A 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/gnuplo
[all...]
/external/ltp/testcases/kernel/security/filecaps/
H A Dfilecapstest.sh26 TMP=${TMP:=/tmp}
27 FIFOFILE="$TMP/caps_fifo"
/external/e2fsprogs/tests/scripts/
H A 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; don
[all...]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
H A 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
101 #cp $TMP/gnuplo
[all...]
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/
H A 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
101 #cp $TMP/gnuplo
[all...]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
H A 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
101 #cp $TMP/gnuplo
[all...]
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
H A 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
101 #cp $TMP/gnuplo
[all...]
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
H A 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
101 #cp $TMP/gnuplo
[all...]
/external/autotest/server/site_tests/platform_GCC/
H A 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/ltp/testcases/kernel/hotplug/cpu_hotplug/tools/
H A Dcpuhotplug_do_disk_write_loop3 TMP_FILE=${TMP:-/tmp}/cpu_$$
/external/ltp/testcases/kernel/fs/acls/
H A 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/tac
[all...]
/external/e2fsprogs/contrib/
H A Dbuild-rpm16 # ensure that $TMP is set to something
17 TMP=${TMP:-'/tmp'}
20 tmpdir=`mktemp -d ${RPM_TMPDIR:-$TMP}/rpmtmp.XXXXXX`
39 --define "_tmpdir ${RPM_TMPDIR:-$TMP}" \
/external/e2fsprogs/lib/ss/
H A Dmk_cmds.sh.in39 TMP="ct$$.c"
47 | ${AWK} -f "${DIR}/ct_c.awk" "rootname=${ROOT}" "outfile=${TMP}" -
49 if grep "^#__ERROR_IN_FILE" "${TMP}" > /dev/null; then
50 rm "${TMP}"
54 mv -f "${TMP}" "${BASE}.c"
/external/protobuf/
H A Dgenerate_descriptor_proto.sh46 TMP=$(mktemp -d)
59 ./protoc --cpp_out=dllexport_decl=LIBPROTOBUF_EXPORT:$TMP ${RUNTIME_PROTO_FILES[@]} && \
60 ./protoc --cpp_out=dllexport_decl=LIBPROTOC_EXPORT:$TMP google/protobuf/compiler/plugin.proto
64 diff ${BASE_NAME}.pb.h $TMP/${BASE_NAME}.pb.h > /dev/null
68 diff ${BASE_NAME}.pb.cc $TMP/${BASE_NAME}.pb.cc > /dev/null
74 diff google/protobuf/compiler/plugin.pb.h $TMP/google/protobuf/compiler/plugin.pb.h > /dev/null
78 diff google/protobuf/compiler/plugin.pb.cc $TMP/google/protobuf/compiler/plugin.pb.cc > /dev/null
88 mv $TMP/${BASE_NAME}.pb.h ${BASE_NAME}.pb.h
89 mv $TMP/${BASE_NAME}.pb.cc ${BASE_NAME}.pb.cc
91 mv $TMP/googl
[all...]

Completed in 496 milliseconds

123