~daniel-mehrmann/e2fsprogs/master

« back to all changes in this revision

Viewing changes to tests/r_meta_bg_shrink/script

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-10-27 09:44:27 UTC
  • mfrom: (8.4.29 sid)
  • Revision ID: package-import@ubuntu.com-20141027094427-g56dce6sg7pasdgm
Tags: 1.42.12-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/rules:
      Block pkg-create-dbgsym from operating on this package.
      Build without dietlibc-dev, which is in universe 
      Use the autotools-dev dh addon to update config.guess/config.sub for new
      ports.
  - debian/control:
      Regenerate with ./debian/rules debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
 
2
 
 
3
test_description="meta_bg shrink"
 
4
FEATURES="-t ext4 -O 64bit,meta_bg,^resize_inode -b 1024"
 
5
SIZE_1=1G
 
6
SIZE_2=48M
 
7
LOG=$test_name.log
 
8
E2FSCK=../e2fsck/e2fsck
 
9
RESIZE2FS_OPTS=-f
 
10
 
 
11
. $cmd_dir/scripts/resize_test
 
12
 
 
13
export MKE2FS_FIRST_META_BG=2
 
14
resize_test
 
15
unset MKE2FS_FIRST_META_BG
 
16
 
 
17
RC=$?
 
18
if [ $RC -eq 0 ]; then
 
19
        echo "$test_name: $test_description: ok"
 
20
        touch $test_name.ok
 
21
elif [ $RC -eq 111 ]; then
 
22
        echo "$test_name: $test_description: skipped"
 
23
        touch $test_name.ok
 
24
else
 
25
        echo "$test_name: $test_description: failed"
 
26
        ln $LOG $test_name.failed
 
27
fi
 
28
 
 
29
unset FEATURES SIZE_1 SIZE_2 LOG E2FSCK
 
30
 
 
31
else #if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
 
32
        echo "$test_name: $test_description: skipped"
 
33
fi
 
34