Lines Matching refs:TMPFILE
15 cat > $TMPFILE.conf << ENDL
25 MKE2FS_CONFIG=$TMPFILE.conf $MKE2FS -F -o Linux -b 1024 -O bigalloc -T ext4 $TMPFILE 65536 > $OUT.n…
26 rm -f $TMPFILE.conf
28 $FSCK -fy -N test_filesys $TMPFILE >> $OUT.new 2>&1
68 cat > $TMPFILE.cmd << ENDL
73 echo "ex /a" >> $TMPFILE.cmd2
75 make_file sample $base --uninit >> $TMPFILE.cmd
76 echo "ex /sample" >> $TMPFILE.cmd2
80 make_file b$i $(($base + (40 * ($i - 8)))) --uninit >> $TMPFILE.cmd
81 echo "fallocate /b$i $i 39" >> $TMPFILE.cmd
82 echo "ex /b$i" >> $TMPFILE.cmd2
86 make_file c$i $(($base + 320 + (40 * ($i - 24)))) --uninit >> $TMPFILE.cmd
87 echo "fallocate /c$i 0 $i" >> $TMPFILE.cmd
88 echo "ex /c$i" >> $TMPFILE.cmd2
91 make_file d $(($base + 640)) --uninit >> $TMPFILE.cmd
92 echo "fallocate /d 4 35" >> $TMPFILE.cmd
93 echo "ex /d" >> $TMPFILE.cmd2
95 make_file e $(($base + 680)) --uninit >> $TMPFILE.cmd
96 echo "fallocate /e 19 20" >> $TMPFILE.cmd
97 echo "ex /e" >> $TMPFILE.cmd2
99 cat >> $TMPFILE.cmd << ENDL
109 echo "ex /f" >> $TMPFILE.cmd2
114 make_file g$i $(($base + (40 * ($i - 8)))) >> $TMPFILE.cmd
115 echo "fallocate /g$i $i 39" >> $TMPFILE.cmd
116 echo "ex /g$i" >> $TMPFILE.cmd2
120 make_file h$i $(($base + 320 + (40 * ($i - 24)))) >> $TMPFILE.cmd
121 echo "fallocate /h$i 0 $i" >> $TMPFILE.cmd
122 echo "ex /h$i" >> $TMPFILE.cmd2
125 make_file i $(($base + 640)) >> $TMPFILE.cmd
126 echo "fallocate /i 4 35" >> $TMPFILE.cmd
127 echo "ex /i" >> $TMPFILE.cmd2
129 make_file j $(($base + 680)) >> $TMPFILE.cmd
130 echo "fallocate /j 19 20" >> $TMPFILE.cmd
131 echo "ex /j" >> $TMPFILE.cmd2
133 cat >> $TMPFILE.cmd << ENDL
144 echo "ex /k" >> $TMPFILE.cmd2
146 $DEBUGFS -w -f $TMPFILE.cmd $TMPFILE > /dev/null 2>&1
147 $DEBUGFS -f $TMPFILE.cmd2 $TMPFILE >> $OUT.new 2>&1
149 $FSCK -fy -N test_filesys $TMPFILE >> $OUT.new 2>&1
154 rm -f $TMPFILE $TMPFILE.cmd $TMPFILE.cmd2 $OUT.new