stress_ng, bump version (#11319)

This commit is contained in:
Schrijvers Luc
2024-11-07 11:52:31 +01:00
committed by GitHub
parent 9f7652d5a0
commit 1eab841342
3 changed files with 13 additions and 25 deletions

View File

@@ -1,22 +0,0 @@
From 4243803f2a09aeabceae6c7aaf2ae49e5423c654 Mon Sep 17 00:00:00 2001
From: David Karoly <david.karoly@outlook.com>
Date: Sat, 1 Oct 2022 21:04:09 +0200
Subject: stress-touch: fix build
diff --git a/stress-touch.c b/stress-touch.c
index b59f97e..1f855de 100644
--- a/stress-touch.c
+++ b/stress-touch.c
@@ -187,7 +187,7 @@ static void stress_touch_dir_clean(stress_args_t *args)
if (!dir)
return;
while ((d = readdir(dir)) != NULL) {
- char filename[PATH_MAX + sizeof(d->d_name) + 1];
+ char filename[PATH_MAX + 1];
struct stat statbuf;
(void)snprintf(filename, sizeof(filename), "%s/%s\n", tmp, d->d_name);
--
2.43.2

View File

@@ -35,10 +35,8 @@ COPYRIGHT="2013-2021 Colin Ian King"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
REVISION="1" REVISION="1"
SOURCE_URI="https://github.com/ColinIanKing/stress-ng/archive/V$portVersion.zip" SOURCE_URI="https://github.com/ColinIanKing/stress-ng/archive/V$portVersion.zip"
CHECKSUM_SHA256="0f8c60a4d988fc23c3982c9d60753a92d7e16115aac7a5122688446f4aa83e4f"
SOURCE_DIR="stress-ng-$portVersion" SOURCE_DIR="stress-ng-$portVersion"
CHECKSUM_SHA256="79ec651fc36f01a9538a00fd5b9332b1fc166e47df1fc66036731c9a9f58ded1"
PATCHES="stress_ng-$portVersion.patchset"
if [ $effectiveTargetArchitecture = x86 ]; then if [ $effectiveTargetArchitecture = x86 ]; then
PATCHES+=" PATCHES+="
stress_ng_x86-$portVersion.patchset stress_ng_x86-$portVersion.patchset
@@ -67,6 +65,7 @@ BUILD_PREREQUIRES="
cmd:awk cmd:awk
cmd:gcc$secondaryArchSuffix cmd:gcc$secondaryArchSuffix
cmd:make cmd:make
cmd:which
" "
BUILD() BUILD()
@@ -84,3 +83,14 @@ INSTALL()
install -m 755 -d $dataDir/bash-completion/completions install -m 755 -d $dataDir/bash-completion/completions
install -m 644 bash-completion/stress-ng $dataDir/bash-completion/completions/stress-ng install -m 644 bash-completion/stress-ng $dataDir/bash-completion/completions/stress-ng
} }
TEST()
{
# use lite-test for quick test, the others take up a long time to finish
# slow-test-all
# verify-test-all
# chmod +x debian/tests/fast-test-all
chmod +x debian/tests/lite-test
# make fast-test-all
make lite-test
}