• Home
  • Raw
  • Download

Lines Matching refs:OUT

2 OUT=$test_name.log
34 echo "tune2fs dangerous prompts test" > $OUT
36 …NFIG=$CONF $MKE2FS -F -T ext4h -U 6fc3daa4-180d-4f2b-a6f2-f7a5efb79bcf $TMPFILE 524288 >> $OUT 2>&1
43 echo "tune2fs -O metadata_csum test.img" >> $OUT
44 $TUNE2FS -O metadata_csum $TMPFILE >> $OUT 2>&1
46 echo Exit status is $status >> $OUT
52 echo "tune2fs -O metadata_csum test.img" >> $OUT
53 $TUNE2FS -O metadata_csum $TMPFILE >> $OUT 2>&1
55 echo Exit status is $status >> $OUT
57 …NFIG=$CONF $MKE2FS -F -T ext4h -U 6fc3daa4-180d-4f2b-a6f2-f7a5efb79bcf $TMPFILE 524288 >> $OUT 2>&1
60 $DUMPE2FS $TMPFILE 2> /dev/null | grep '^Group 0:' -B99 -A20 | sed -f $cmd_dir/filter.sed > $OUT.be…
61 $FSCK $FSCK_OPT -f -N test_filesys $TMPFILE >> $OUT 2>&1
63 echo Exit status is $status >> $OUT
66 echo "tune2fs -O metadata_csum test.img" >> $OUT
67 echo 'n' | TUNE2FS_FORCE_PROMPT=1 $TUNE2FS -O metadata_csum $TMPFILE >> $OUT 2>&1
69 echo Exit status is $status >> $OUT
72 echo "tune2fs -I 512 test.img" >> $OUT
73 echo 'n' | TUNE2FS_FORCE_PROMPT=1 $TUNE2FS -I 512 $TMPFILE >> $OUT 2>&1
75 echo Exit status is $status >> $OUT
78 $FSCK -yD -N test_filesys $TMPFILE >> $OUT 2>&1
81 $DUMPE2FS $TMPFILE 2> /dev/null | grep '^Group 0:' -B99 -A20 | sed -f $cmd_dir/filter.sed > $OUT.af…
82 echo "Change in FS metadata:" >> $OUT
83 diff -u $OUT.before $OUT.after | tail -n +3 >> $OUT
84 $FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT 2>&1
86 echo Exit status is $status >> $OUT
88 … $TMPFILE 2> /dev/null | egrep '^(Filesystem features:|Filesystem UUID:|Inode size:)' > $OUT.before
91 echo "tune2fs -O metadata_csum test.img" >> $OUT
92 echo 'y' | TUNE2FS_FORCE_PROMPT=1 $TUNE2FS -O metadata_csum $TMPFILE >> $OUT 2>&1
94 echo Exit status is $status >> $OUT
95 $FSCK -yD -N test_filesys $TMPFILE >> $OUT 2>&1
98 echo "tune2fs -I 512 test.img" >> $OUT
99 echo 'y' | TUNE2FS_FORCE_PROMPT=1 $TUNE2FS -I 512 $TMPFILE >> $OUT 2>&1
101 echo Exit status is $status >> $OUT
104 echo "tune2fs -U f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0 test.img" >> $OUT
105 echo 'y' | TUNE2FS_FORCE_PROMPT=1 $TUNE2FS -U f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0 $TMPFILE >> $OUT
107 echo Exit status is $status >> $OUT
110 $FSCK -yD -N test_filesys $TMPFILE >> $OUT 2>&1
113 …S $TMPFILE 2> /dev/null | egrep '^(Filesystem features:|Filesystem UUID:|Inode size:)' > $OUT.after
114 echo "Change in FS metadata:" >> $OUT
115 diff -u $OUT.before $OUT.after | tail -n +3 >> $OUT
116 $FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT 2>&1
118 echo Exit status is $status >> $OUT
120 echo " " >> $OUT
121 echo "Testing with metadata checksum enabled" >> $OUT
123 …NFIG=$CONF $MKE2FS -F -T ext4m -U 6fc3daa4-180d-4f2b-a6f2-f7a5efb79bcf $TMPFILE 524288 >> $OUT 2>&1
124 $DUMPE2FS $TMPFILE 2> /dev/null | grep '^Group 0:' -B99 -A20 | sed -f $cmd_dir/filter.sed > $OUT.be…
125 $FSCK $FSCK_OPT -f -N test_filesys $TMPFILE >> $OUT 2>&1
127 echo Exit status is $status >> $OUT
130 echo "tune2fs -U random test.img" >> $OUT
131 echo 'n' | TUNE2FS_FORCE_PROMPT=1 $TUNE2FS -U random $TMPFILE >> $OUT 2>&1
133 echo Exit status is $status >> $OUT
135 rm $TMPFILE $OUT.before $OUT.after $CONF
141 sed -f $cmd_dir/filter.sed -e 's/test_filesys:.*//g' < $OUT > $OUT.new
142 mv $OUT.new $OUT
144 cmp -s $OUT $EXP
152 diff $DIFF_OPTS $EXP $OUT > $test_name.failed
155 unset IMAGE FSCK_OPT OUT EXP CONF