summaryrefslogtreecommitdiff
path: root/tests/f_uninit_last_uninit/script
blob: 4fcab1b3f0bb682a4c6617f864d4669aa2a70f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
if test -x $DEBUGFS_EXE; then

SKIP_GUNZIP="true"

touch $TMPFILE
$MKE2FS -N 32 -F -o Linux -O uninit_bg -b 1024 $TMPFILE 10000 > /dev/null 2>&1 
$DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1
set_current_time 200704102100
set_super_value lastcheck 0
set_super_value hash_seed null
set_super_value mkfs_time 0
set_bg 1 flags 0x7
set_bg 1 checksum calc
q
EOF

E2FSCK_TIME=200704102100
export E2FSCK_TIME

. $cmd_dir/run_e2fsck

unset E2FSCK_TIME

else #if test -x $DEBUGFS_EXE; then
	rm -f $test_name.ok $test_name.failed
	echo "skipped"
fi