Projects
openEuler:24.03:SP1:Everything
util-linux
_service:tar_scm:backport-fadvise-test-test-wit...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-fadvise-test-test-with-64k-blocks.patch of Package util-linux
From c0f31b79f5d1c665cdc057fb32f4d161d28aa5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= <thomas@t-8ch.de> Date: Sun, 21 May 2023 21:45:10 +0200 Subject: [PATCH] fadvise: (test) test with 64k blocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will allow the tests to also pass on systems with 64k pagesizes. Closes #2249 Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de> --- tests/expected/fadvise/drop | 26 +++++++++++++------------- tests/ts/fadvise/drop | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/expected/fadvise/drop b/tests/expected/fadvise/drop index 25f23e050..e7bb26b6e 100644 --- a/tests/expected/fadvise/drop +++ b/tests/expected/fadvise/drop @@ -1,23 +1,23 @@ - RES SIZE FILE - 32K 32K ddtest + RES SIZE FILE + 512K 512K ddtest whole file status: 0 -RES SIZE FILE - 0B 32K ddtest +RES SIZE FILE + 0B 512K ddtest -offset: 8192 +offset: 131072 status: 0 -RES SIZE FILE - 8K 32K ddtest + RES SIZE FILE + 128K 512K ddtest -length: 16384 +length: 262144 status: 0 - RES SIZE FILE - 16K 32K ddtest + RES SIZE FILE + 256K 512K ddtest -offset: 8192, length: 16384 fd: 42 +offset: 131072, length: 262144 fd: 42 status: 0 - RES SIZE FILE - 16K 32K ddtest + RES SIZE FILE + 256K 512K ddtest diff --git a/tests/ts/fadvise/drop b/tests/ts/fadvise/drop index 6c4298e87..45dcb9110 100755 --- a/tests/ts/fadvise/drop +++ b/tests/ts/fadvise/drop @@ -16,7 +16,7 @@ ts_check_prog "sleep" ts_cd "$TS_OUTDIR" FILE="ddtest" -BS=4096 +BS=65536 COUNT=8 FILE_FS="$("$TS_CMD_FINDMNT" -nr -o FSTYPE -T "$PWD")" -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2