mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-13 01:24:22 -07:00
[PR #6304/08f14f3e backport][stable-5] pids tests: 'some-' is not that a unique pattern. (#6305)
pids tests: 'some-' is not that a unique pattern. (#6304)
* 'some-' is not that a unique pattern.
* Add debugging help.
* Avoid passing the name as a parameter to obtainpid.sh.
(cherry picked from commit 08f14f3eb0
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
e113c8cf11
commit
c44f07a405
2 changed files with 18 additions and 10 deletions
7
tests/integration/targets/pids/templates/obtainpid.sh
Normal file
7
tests/integration/targets/pids/templates/obtainpid.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
"{{ remote_tmp_dir }}/{{ random_name }}" 100 &
|
||||
echo "$!" > "{{ remote_tmp_dir }}/obtainpid.txt"
|
Loading…
Add table
Add a link
Reference in a new issue