Home
last modified time | relevance | path

Searched refs:TMPFILE (Results 1 – 25 of 39) sorted by relevance

12

/external/e2fsprogs/tests/scripts/
Dresize_test5 rm -f $TMPFILE
6 touch $TMPFILE
10 if truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then
11 > $TMPFILE
13 rm $TMPFILE
14 export TMPFILE=$(TMPDIR=. mktemp -t $test_name.XXXXXX.tmp)
15 touch $TMPFILE
16 if ! truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then
17 rm $TMPFILE
22 echo $MKE2FS $FEATURES -qF $TMPFILE $SIZE_1 > $LOG
[all …]
/external/e2fsprogs/tests/r_move_itable/
Dscript14 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
17 $MKE2FS -q -F -o Linux -b 1024 -g 256 $TMPFILE 1024 2>&1 |
18 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" >> $OUT
21 $RESIZE2FS -p $TMPFILE 10000 2>&1 |
22 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" >> $OUT
24 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
27 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
30 $DEBUGFS -R "set_super_value lastcheck 0" -w $TMPFILE >/dev/null 2>&1
31 $DEBUGFS -R "set_super_value hash_seed null" -w $TMPFILE >/dev/null 2>&1
32 $DEBUGFS -R "set_super_value mkfs_time 0" -w $TMPFILE >/dev/null 2>&1
[all …]
/external/e2fsprogs/tests/r_resize_inode/
Dscript14 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
17 $MKE2FS -q -F -O resize_inode -o Linux -b 1024 -g 1024 $TMPFILE 16384 2>&1 |
18 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" >> $OUT
21 $RESIZE2FS $TMPFILE 65536 2>&1 |
22 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" >> $OUT
24 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
27 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
30 $DEBUGFS -R "set_super_value lastcheck 0" -w $TMPFILE >/dev/null 2>&1
31 $DEBUGFS -R "set_super_value hash_seed null" -w $TMPFILE >/dev/null 2>&1
32 $DEBUGFS -R "set_super_value mkfs_time 0" -w $TMPFILE >/dev/null 2>&1
[all …]
/external/e2fsprogs/tests/u_tune2fs/
Dscript6 TDB_FILE=$E2FSPROGS_UNDO_DIR/tune2fs-$(basename $TMPFILE).e2undo
10 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
12 echo mke2fs -q -F -o Linux -b 1024 $TMPFILE > $OUT
13 $MKE2FS -q -F -o Linux -I 128 -b 1024 $TMPFILE >> $OUT 2>&1
14 md5=`md5sum $TMPFILE | cut -d " " -f 1`
18 $TUNE2FS -I 256 $TMPFILE >> $OUT 2>&1
19 new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
22 $E2UNDO_EXE $TDB_FILE $TMPFILE >> $OUT 2>&1
23 new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
33 rm -f $TDB_FILE $TMPFILE
/external/e2fsprogs/tests/f_resize_inode/
Dscript15 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
18 $MKE2FS -F -O resize_inode -o Linux -b 1024 -g 1024 $TMPFILE 16384 2>&1 |
19 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" >> $OUT
21 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
24 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
31 $DEBUGFS -R "set_inode_field <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1
36 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
42 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
52 $DEBUGFS -R "clri <7>" -w $TMPFILE >> $OUT.new 2>&1
57 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
[all …]
/external/e2fsprogs/tests/u_mke2fs/
Dscript6 TDB_FILE=$E2FSPROGS_UNDO_DIR/mke2fs-$(basename $TMPFILE).e2undo
10 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
13 $MKE2FS -F -o Linux -I 128 -b 1024 $TMPFILE >> $OUT 2>&1
14 md5=`md5sum $TMPFILE | cut -d " " -f 1`
18 $MKE2FS -q -F -o Linux -I 256 -O uninit_bg -E lazy_itable_init=1 -b 1024 $TMPFILE >> $OUT 2>&1
19 new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
22 $E2UNDO_EXE $TDB_FILE $TMPFILE >> $OUT 2>&1
23 new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
33 rm -f $TDB_FILE $TMPFILE
/external/e2fsprogs/tests/t_ext_jnl_rm/
Dscript4 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
6 echo mke2fs -q -F -o Linux -b 1024 $TMPFILE >> $OUT
7 $MKE2FS -q -F -o Linux -I 128 -b 1024 $TMPFILE >> $OUT 2>&1
10 $DEBUGFS -w -f - $TMPFILE <<- EOF >> $OUT 2>&1
16 echo "tune2fs -f -O ^has_journal $TMPFILE" >> $OUT
17 $TUNE2FS -f -O ^has_journal $TMPFILE >> $OUT 2>&1
18 $DUMPE2FS -h $TMPFILE >> $OUT 2>&1
26 rm -f $TMPFILE
/external/e2fsprogs/tests/t_mmp_2off/
Dscript3 TMPFILE=$test_name.tmp
4 > $TMPFILE
6 stat -f $TMPFILE | grep -q "Type: tmpfs"
8 rm -f $TMPFILE
13 $MKE2FS -q -F -o Linux -b 4096 -O mmp $TMPFILE 100 > $test_name.log 2>&1
21 $TUNE2FS -O ^mmp $TMPFILE > $test_name.log 2>&1
29 $FSCK $FSCK_OPT $TMPFILE > $test_name.log 2>&1
39 rm -f $TMPFILE
/external/e2fsprogs/tests/t_mmp_1on/
Dscript3 TMPFILE=$test_name.tmp
4 > $TMPFILE
6 stat -f $TMPFILE | grep -q "Type: tmpfs"
8 rm -f $TMPFILE
13 $MKE2FS -q -F -o Linux -b 4096 $TMPFILE 100 > $test_name.log 2>&1
21 $TUNE2FS -O mmp -E mmp_update_interval=1 $TMPFILE >> $test_name.log 2>&1
29 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1
39 rm -f $TMPFILE
/external/e2fsprogs/tests/f_mmp/
Dscript3 TMPFILE=$test_name.tmp
4 > $TMPFILE
6 stat -f $TMPFILE | grep -q "Type: tmpfs"
8 rm -f $TMPFILE
14 $MKE2FS -q -F -o Linux -b 4096 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1
25 awk "/debugfs -w $TMPFILE/ { print \$1 }")
36 $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 & ) > /dev/null 2>&1 &
47 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1
56 $TUNE2FS -f -E clear_mmp $TMPFILE >> $test_name.log 2>&1
65 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1
[all …]
/external/e2fsprogs/tests/t_quota_1on/
Dscript8 $MKE2FS -q -F -o Linux -b 4096 $TMPFILE 10000 > $test_name.log 2>&1
16 dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1
17 cat <<- EOF | $DEBUGFS -w -f /dev/stdin $TMPFILE >> $test_name.log 2>&1
18 write $TMPFILE.2 file1
22 rm -f $TMPFILE.2
24 $TUNE2FS -O quota $TMPFILE >> $test_name.log 2>&1
32 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1
42 rm -f $TMPFILE
/external/e2fsprogs/tests/d_special_files/
Dscript12 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
16 $MKE2FS -Fq $TMPFILE 512 > /dev/null 2>&1
20 $DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1
33 $DEBUGFS -R "stat foo" -w $TMPFILE >> $OUT.new 2>&1
39 $DEBUGFS -R "stat foo2" -w $TMPFILE >> $OUT.new 2>&1
45 $DEBUGFS -R "block_dump 28" -w $TMPFILE >> $OUT.new 2>&1
51 $DEBUGFS -R "stat pipe" -w $TMPFILE >> $OUT.new 2>&1
57 $DEBUGFS -R "stat sda" -w $TMPFILE >> $OUT.new 2>&1
63 $DEBUGFS -R "stat null" -w $TMPFILE >> $OUT.new 2>&1
69 $FSCK $VERIFY_FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
[all …]
/external/e2fsprogs/tests/f_mmp_garbage/
Dscript3 TMPFILE=$test_name.tmp
4 > $TMPFILE
6 stat -f $TMPFILE | grep -q "Type: tmpfs"
8 rm -f $TMPFILE
14 $MKE2FS -q -F -o Linux -b 4096 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1
24 $DEBUGFS -w -R "set_mmp_value magic 0x12345678" $TMPFILE >> $test_name.log 2>&1
/external/e2fsprogs/tests/
Drun_mke2fs13 > $TMPFILE
14 PREP_CMD='$MKE2FS -F -o Linux $MKE2FS_OPTS $TMPFILE $FS_SIZE 2>&1 |
15 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" > $OUT1;
16 $DEBUGFS -R features $TMPFILE 2>&1 |
17 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" >> $OUT1'
18 AFTER_CMD='$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter.sed >> $OUT1'
/external/valgrind/VEX/switchback/
Dbinary_switchback.pl144 my $TMPFILE = ".switchback_output.$n";
148 system("$SWITCHBACK $n >& $TMPFILE");
153 open(INFILE, "$TMPFILE");
157 unlink($TMPFILE) if (! DEBUG);
163 unlink($TMPFILE) if (! DEBUG);
180 open(INFILE, "$TMPFILE");
187 unlink($TMPFILE) if (! DEBUG);
191 open(INFILE, "$TMPFILE");
195 unlink($TMPFILE) if (! DEBUG);
/external/e2fsprogs/contrib/
De2croncheck26 TMPFILE=`mktemp -t e2fsck.log.XXXXXXXXXX`
34 if nice logsave -as $TMPFILE e2fsck -p $OPTS "/dev/${VG}/${VOLUME}-snap" && \
35 nice logsave -as $TMPFILE e2fsck -fy $OPTS "/dev/${VG}/${VOLUME}-snap" ; then
42 mail -s "E2fsck of /dev/${VG}/${VOLUME} failed!" $EMAIL < $TMPFILE
46 rm $TMPFILE
/external/e2fsprogs/tests/f_dup_de/
Dscript4 gunzip < $test_dir/image.gz > $TMPFILE
5 $DEBUGFS -w -R "feature ^dir_index" $TMPFILE >/dev/null 2>&1
6 gzip $TMPFILE
7 IMAGE="$TMPFILE".gz
12 rm -f "$TMPFILE".gz
/external/vboot_reference/utility/
Dvbutil_what_keys79 futility gbb_utility --rootkey="$TMPFILE" "$file" >/dev/null
80 rootkey=$(futility vbutil_key --unpack "$TMPFILE" | grep sha1sum | \
84 futility gbb_utility --recoverykey="$TMPFILE" "$file" >/dev/null
85 recoverykey=$(futility vbutil_key --unpack "$TMPFILE" | grep sha1sum | \
115 dd if="$file" of="$TMPFILE" bs=512 count=128 skip="$pstart" 2>/dev/null
117 psum=$(futility vbutil_keyblock --unpack "$TMPFILE" 2>/dev/null | \
122 flags=$(futility vbutil_keyblock --unpack "$TMPFILE" 2>/dev/null | \
/external/e2fsprogs/tests/m_mmp/
Dscript5 TMPFILE=$test_name.tmp
6 > $TMPFILE
7 stat -f $TMPFILE | grep -q "Type: tmpfs"
9 rm -f $TMPFILE
/external/e2fsprogs/tests/r_inline_xattr/
Dscript8 gunzip < $IMAGE > $TMPFILE
14 $DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|name = " >> $OUT
20 $RESIZE2FS $TMPFILE 5M 2>&1 >> $OUT.new 2>&1
23 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
27 $DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|name = " >> $OUT
31 rm $TMPFILE $OUT.new
/external/e2fsprogs/tests/r_min_itable/
Dscript8 gunzip < $IMAGE > $TMPFILE
13 $RESIZE2FS -M $TMPFILE 2>&1 >> $OUT.new 2>&1
19 $FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
22 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
23 rm $TMPFILE $OUT.new
/external/e2fsprogs/tests/d_loaddump/
Dscript12 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
16 $MKE2FS -Fq $TMPFILE 512 > /dev/null 2>&1
24 $DEBUGFS -R "write $TEST_DATA test_data" -w $TMPFILE >> $OUT.new 2>&1
30 $FSCK $VERIFY_FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
36 $DEBUGFS -R "dump test_data $VERIFY_DATA" $TMPFILE >> $OUT.new 2>&1
50 rm -f $VERIFY_DATA $TEST_DATA $TMPFILE $OUT.new
/external/e2fsprogs/tests/m_mkfs_overhead/
Dscript11 > $TMPFILE
15 $MKE2FS -F -o Linux $MKE2FS_OPTS $TMPFILE $FS_SIZE 2>&1 |
16 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" > $OUT
18 rm -f $TMPFILE
/external/valgrind/massif/
Dms_print.in214 printf(TMPFILE
239 printf(TMPFILE "%s->%05.2f%% (%sB) in %d+ places, all below "
243 print(TMPFILE "$this_prefix2\n");
248 print(TMPFILE "$this_prefix2\n");
397 open(TMPFILE, "> $tmp_file")
413 print(TMPFILE $header);
429 printf(TMPFILE $column_format,
461 print(TMPFILE $header);
469 close(TMPFILE);
658 open(TMPFILE, "< $tmp_file")
[all …]
/external/e2fsprogs/tests/t_quota_2off/
Dscript8 $MKE2FS -q -F -o Linux -b 4096 -O quota $TMPFILE 100 > $test_name.log 2>&1
16 $TUNE2FS -O ^quota $TMPFILE >> $test_name.log 2>&1
24 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1
35 rm -f $TMPFILE

12