| Summary: | Executing gverify.sh without any option should display its usage. | ||
|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | Gowrishankar Rajaiyan <grajaiya> |
| Component: | geo-replication | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
| Status: | CLOSED EOL | QA Contact: | M S Vishwanath Bhat <vbhat> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.1 | CC: | avishwan, chrisw, csaba, mzywusko, rwheeler |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** Bug 1013947 has been marked as a duplicate of this bug. *** Closing this bug since RHGS 2.1 release reached EOL. Required bugs are cloned to RHGS 3.1. Please re-open this issue if found again. Closing this bug since RHGS 2.1 release reached EOL. Required bugs are cloned to RHGS 3.1. Please re-open this issue if found again. |
Description of problem: gverify.sh displays the usage of "ping" command with ambiguous redirect message for log_file. Ideally executing gverify.sh without any options should display its usage, instead of having the user to open the file to find it. Version-Release number of selected component (if applicable): glusterfs-geo-replication-3.4.0.33rhs-1.el6rhs.x86_64 How reproducible: Always Steps to Reproduce: 1. Execute /usr/libexec/glusterfs/gverify.sh Actual results: # /usr/libexec/glusterfs/gverify.sh /usr/libexec/glusterfs/gverify.sh: line 100: $log_file: ambiguous redirect Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline] [-p pattern] [-s packetsize] [-t ttl] [-I interface or address] [-M mtu discovery hint] [-S sndbuf] [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination /usr/libexec/glusterfs/gverify.sh: line 107: $log_file: ambiguous redirect Expected results: Should display the "Usage" of gverify.sh. Additional info: