pt-stalk warns about bad "find" usage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Brian Fraser |
Bug Description
When running like:
kolita@lilith:/tmp$ ./pt-stalk --log=/
...
2012_02_27_15_30_49 Check results: Threads_running=0, matched=no, cycles_true=0
find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
2012_02_27_15_30_50 Check results: Threads_running=0, matched=no, cycles_true=0
find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
...
lilith:/tmp$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
lilith:/tmp$ uname -a
Linux lilith 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux
lilith:/tmp$ ./pt-stalk --version
pt-stalk 2.0.3
lilith:/tmp$ perl --version
This is perl, v5.10.1 (*) built for x86_64-
(with 40 registered patches, see perl -V for more detail)
Related branches
- Daniel Nichter: Approve
-
Diff: 71 lines (+27/-7)2 files modifiedbin/pt-stalk (+3/-3)
t/pt-stalk/pt-stalk.t (+24/-4)
tags: | added: pt-stalk |
tags: | added: wrong-option |
Changed in percona-toolkit: | |
status: | New → Triaged |
Changed in percona-toolkit: | |
milestone: | none → 2.1.4 |
importance: | Undecided → Medium |
Changed in percona-toolkit: | |
assignee: | nobody → Brian Fraser (fraserbn) |
Changed in percona-toolkit: | |
status: | Triaged → In Progress |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
summary: |
- bad "find" usage in pt-stalk + pt-stalk warns about bad "find" usage |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
Note also that -depth doesn't have an argument, there should be an integer specifying a depth for a search.