Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
util-linux.3352
util-linux-loop-reuse-14.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-loop-reuse-14.patch of Package util-linux.3352
From 05b483010e3e274571059d75e781a5d77859a4dd Mon Sep 17 00:00:00 2001 From: Karel Zak <kzak@redhat.com> Date: Thu, 4 Aug 2016 12:30:09 +0200 Subject: [PATCH 14/20] tests: fix libmount loop-overlay test Signed-off-by: Karel Zak <kzak@redhat.com> --- tests/ts/libmount/loop-overlay | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/ts/libmount/loop-overlay b/tests/ts/libmount/loop-overlay index 6fcb81d..6d4b3e4 100755 --- a/tests/ts/libmount/loop-overlay +++ b/tests/ts/libmount/loop-overlay @@ -16,7 +16,7 @@ # GNU General Public License for more details. # TS_TOPDIR="${0%/*}/../.." -TS_DESC="loop (fstab)" +TS_DESC="loop overlay" . $TS_TOPDIR/functions.sh ts_init "$*" @@ -29,14 +29,13 @@ ts_skip_nonroot ts_check_prog "mkfs.ext3" ts_check_prog "dd" ts_check_prog "stat" -# Default from functions.sh:ts_image_init() -mib=${1:-"5"} IMG=$(ts_image_init) mkfs.ext3 -F "$IMG" &> /dev/null || ts_die "Cannot make ext3 on $IMG" -OFFSET=`stat -c %s "$IMG"` -dd if=$IMG of=$IMG oflag=append bs=${mib}M count=1 conv=notrunc status=none +OFFSET=$(stat -c %s "$IMG") + +dd if="$IMG" of="$IMG" oflag=append bs=5MiB count=1 conv=notrunc status=none [ -d "$TS_MOUNTPOINT-1" ] || mkdir -p $TS_MOUNTPOINT-1 [ -d "$TS_MOUNTPOINT-2" ] || mkdir -p $TS_MOUNTPOINT-2 -- 2.9.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor