diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-10-20 16:12:01 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-10-20 16:12:01 +0100 |
commit | 48a99c95078bab306cb56bb1a05420d88bf15a64 (patch) | |
tree | 00e16abc1775098f3b9746870d1fe4dc2919b8e1 /tests/archive_tests.py | |
parent | 6ce502113f550c027424fa477edc091283c32e50 (diff) | |
download | sos-48a99c95078bab306cb56bb1a05420d88bf15a64.tar.gz |
[plugin] limit names to PC_NAME_MAX
Commit 8bf7b0c removed the truncation of mangled command names to
64 chars. This causes problems for some plugins (e.g. Issue #415)
that generate long enough command lines to hit system name length
limits.
Instead of arbitrarily limiting to 64 characters limit to the
lesser of the archive format limit (if present) or the value of
PC_NAME_MAX for any intermediate FileCacheArchive path.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/archive_tests.py')
0 files changed, 0 insertions, 0 deletions