Skip to content

Commit

Permalink
qa/1123: drop a failing subtest
Browse files Browse the repository at this point in the history
We're using execvp() unde the covers, which means we're exposed to
the user's login $PATH setting ... so we can't tell if . is in the
$PATH or not, which makes one of the subtests non-deterministic.
  • Loading branch information
kmcdonell committed Jul 12, 2024
1 parent 86507a3 commit b7786a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions qa/1123
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,5 @@ export PATH
pmchart -c ./`basename $tmp.sh` -C -C 2>&1 \
| _filter

echo '-- now without . in $PATH, but NO ./ prefix for config arg (should fail) ...'
pmchart -c `basename $tmp.sh` -C -C 2>&1 \
| _filter \
| sed -e '/^__pmProcessPipe:/{
s/pid=[0-9][0-9]*/pid=PID/
s/-[0-9][0-9]*\.sh/-MYPID.sh/
}'

# all done
exit
2 changes: 0 additions & 2 deletions qa/1123.out
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ Found between 1 and 10 busy processes
QA test ...
-- first with . in $PATH ...
-- now without . in $PATH, but ./ prefix for config arg ...
-- now without . in $PATH, but NO ./ prefix for config arg (should fail) ...
__pmProcessPipe: child pid=PID execvp(1123-MYPID.sh, ...) failed

0 comments on commit b7786a8

Please sign in to comment.