Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP2:GA
util-linux.3352
util-linux-loop-reuse-15.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-loop-reuse-15.patch of Package util-linux.3352
From 041d33734e845a5fab328ef63771863b445f21dc Mon Sep 17 00:00:00 2001 From: Karel Zak <kzak@redhat.com> Date: Thu, 4 Aug 2016 15:09:05 +0200 Subject: [PATCH 15/20] tests: fix loop-overlay test Signed-off-by: Karel Zak <kzak@redhat.com> --- tests/ts/libmount/loop-overlay | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/ts/libmount/loop-overlay b/tests/ts/libmount/loop-overlay index 6d4b3e4..97eb321 100755 --- a/tests/ts/libmount/loop-overlay +++ b/tests/ts/libmount/loop-overlay @@ -26,16 +26,17 @@ ts_check_test_command "$TS_CMD_MOUNT" ts_check_test_command "$TS_CMD_UMOUNT" ts_skip_nonroot +ts_check_losetup ts_check_prog "mkfs.ext3" ts_check_prog "dd" ts_check_prog "stat" -IMG=$(ts_image_init) +IMG=$(ts_image_init 5) -mkfs.ext3 -F "$IMG" &> /dev/null || ts_die "Cannot make ext3 on $IMG" +mkfs.ext2 -F "$IMG" &> /dev/null || ts_die "Cannot make extn on $IMG" OFFSET=$(stat -c %s "$IMG") -dd if="$IMG" of="$IMG" oflag=append bs=5MiB count=1 conv=notrunc status=none +dd if="$IMG" of="$IMG" oflag=append bs=5MiB count=1 conv=notrunc &>/dev/null [ -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