From f31baf9b1c65a0328f9c95d80180082568a6ec2eefc2888e7e244f61f5534516 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 9 Jun 2019 20:52:34 +0000 Subject: [PATCH] Accepting request 708832 from home:mnhauke - Package bash-completion script - Update to version 0.09.59.1 * stress-wcs: fix segfault because of using incorrect string pointer - Update to version 0.09.59 * Add bash completion script * Fix up missing options args on help for various stressors * stress-fcntl: ignore EINTR as a failed error return * stress-iomix: add yield point in ioctl exercising * stress-resources: add missing ifdef guard on fd_memfd * stress-resources: add more yield points * stress-ioprio: add more yield points * stress-inode-flags: add another yield point check per ioctl * stress-hrtimes: optimize the reaping process of child processes * stress-vfork: improve vforkmany stressor yielding * stress-dnotify: make dnotify wait loop yield * Add more yield points when touching pages with mincore_touch_pages * stress-bad-altstack: fix inverted logic of yield checks * stress-bad-altstack: add some more yield points * stress-yield: clarify yielder task types * stress-mmap: voidify unused argument mmap_mprotect * stress-str: fix incorrect size for str2 * stress-wcs: fill string with random characters to the correct length * stress-shellsort: remove base_index helper function * stress-shellsort: correctly constify return from base_index() * remove declaration of ret, it shadows a higher scoped declaration * stress-prct: remove environ declaration, it is defined int unistd.h * core-helper: voidify unused capability argument * Revert "stress-vecmath: align data to cache boundary and copy on initialization" * core-helper: fix missing int type in stress_check_capability OBS-URL: https://build.opensuse.org/request/show/708832 OBS-URL: https://build.opensuse.org/package/show/benchmark/stress-ng?expand=0&rev=128 --- stress-ng-0.09.58.tar.xz | 3 -- stress-ng-0.09.59.1.tar.xz | 3 ++ stress-ng.changes | 79 ++++++++++++++++++++++++++++++++++++++ stress-ng.spec | 18 ++++++++- 4 files changed, 99 insertions(+), 4 deletions(-) delete mode 100644 stress-ng-0.09.58.tar.xz create mode 100644 stress-ng-0.09.59.1.tar.xz diff --git a/stress-ng-0.09.58.tar.xz b/stress-ng-0.09.58.tar.xz deleted file mode 100644 index dad402f..0000000 --- a/stress-ng-0.09.58.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ea1ba0e96637d7ecc0d2b08c981c4fcb3e7753ca7d64d76210154440b9a194e6 -size 388568 diff --git a/stress-ng-0.09.59.1.tar.xz b/stress-ng-0.09.59.1.tar.xz new file mode 100644 index 0000000..2143833 --- /dev/null +++ b/stress-ng-0.09.59.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4c31434ebf964caf7f55b48dbfc9bacfee98fd79d7ece52259ca29de2346a38 +size 392788 diff --git a/stress-ng.changes b/stress-ng.changes index 1b15a8c..30d3a41 100644 --- a/stress-ng.changes +++ b/stress-ng.changes @@ -1,3 +1,82 @@ +------------------------------------------------------------------- +Sun Jun 9 10:05:24 UTC 2019 - Martin Hauke + +- Package bash-completion script +- Update to version 0.09.59.1 + * stress-wcs: fix segfault because of using incorrect string pointer + +- Update to version 0.09.59 + * Add bash completion script + * Fix up missing options args on help for various stressors + * stress-fcntl: ignore EINTR as a failed error return + * stress-iomix: add yield point in ioctl exercising + * stress-resources: add missing ifdef guard on fd_memfd + * stress-resources: add more yield points + * stress-ioprio: add more yield points + * stress-inode-flags: add another yield point check per ioctl + * stress-hrtimes: optimize the reaping process of child processes + * stress-vfork: improve vforkmany stressor yielding + * stress-dnotify: make dnotify wait loop yield + * Add more yield points when touching pages with mincore_touch_pages + * stress-bad-altstack: fix inverted logic of yield checks + * stress-bad-altstack: add some more yield points + * stress-yield: clarify yielder task types + * stress-mmap: voidify unused argument mmap_mprotect + * stress-str: fix incorrect size for str2 + * stress-wcs: fill string with random characters to the correct length + * stress-shellsort: remove base_index helper function + * stress-shellsort: correctly constify return from base_index() + * remove declaration of ret, it shadows a higher scoped declaration + * stress-prct: remove environ declaration, it is defined int unistd.h + * core-helper: voidify unused capability argument + * Revert "stress-vecmath: align data to cache boundary and copy on + initialization" + * core-helper: fix missing int type in stress_check_capability + declaration + * check for capabilities rather than if euid is zero + * stress-clone: make parent of clone'd processes less oomable + * stress-vecmath: align data to cache boundary and copy on + initialization + * sorting: fix comments of sorting functions + * Add shell sort CPU/memory stressor + * stress-wcstr: cache align start of wide strings + * stress-wcstr: remove a string randomization, exercises wcstr + functions more + * stress-str: use len1, len2 for string lengths + * stress-mremap: remove empty line + * Add in missing white space + * Ignore SIGUSR1, don't let it stop stressing + * core-job: fix optind check, should only check for non --job options + * jobs: parse jobfile name from correct argv[] location + * stress-pidfd: replace goto's with continues + * stress-poll: replace redo goto with a for-loop + * stress-prctl: also exercise PR_SET_PTRACER + * stress-prlimit: add more PR_SET_MM exercising + * stress-prctl: pass correct zero flags on PR_SET_MM_BRK + * stress-str: remove an string randomization, exercises str + functions more + * stress-bad-altstack: install signal handler in child as early as + possible (LP: #1830856) + * stress-netdev: add in missing ioctls to exercise + * stress-seccomp: add maximum seccomp bpf filter stress + * Add --msg-types to manual + * stress-mq: remove an unnecessary assignment + * stress-mq: remove stop flag, just kill child to remove complexity + * stress-msg: remove need for magic stop message, just kill child + instead + * stress-msg: make message 4 bytes, cache align it to get more + throughput + * stress-shm: voidify memset return + * stress-enosys: replace multiple if statements with loop + * stress-cyclic: refactor some code + * stress-cyclic: add less accurate usleep sleep delays + * zlib: add lrand48 data source zlib method + * stress-funccall: rename funcall -> funccall + * stress-clone: make parent of the clones child processes an OOMable + target (LP: #1828788) + * Add pass by value function return funcret stress tests + * stress-fault: make minor page faults more stressy + ------------------------------------------------------------------- Thu May 2 12:28:27 UTC 2019 - Martin Hauke diff --git a/stress-ng.spec b/stress-ng.spec index b936115..3e27112 100644 --- a/stress-ng.spec +++ b/stress-ng.spec @@ -18,7 +18,7 @@ Name: stress-ng -Version: 0.09.58 +Version: 0.09.59.1 Release: 0 Summary: Tool to load and stress a computer License: GPL-2.0-only @@ -42,6 +42,17 @@ additional features such as specifying the number of bogo operations to run, execution metrics, a stress verification on memory and compute operations and considerably more stress mechanisms. +%package bash-completion +Summary: Bash Completion for %{name} +Group: System/Benchmark +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: packageand(stress-ng:bash) +BuildArch: noarch + +%description bash-completion +Bash completion script for stress-ng. + %prep %setup -q @@ -54,6 +65,8 @@ install -D -p -m 0755 stress-ng \ %{buildroot}%{_bindir}/stress-ng install -D -p -m 0644 stress-ng.1 \ %{buildroot}%{_mandir}/man1/stress-ng.1 +install -D -p -m 0644 bash-completion/stress-ng \ + %{buildroot}%{_datadir}/bash-completion/completions/%{name} %files %license COPYING @@ -61,4 +74,7 @@ install -D -p -m 0644 stress-ng.1 \ %{_bindir}/stress-ng %{_mandir}/man1/stress-ng.1%{ext_man} +%files bash-completion +%{_datadir}/bash-completion/completions/%{name} + %changelog