HomeFreeBSD

gctl_test.t: minor tweaks

Description

gctl_test.t: minor tweaks

  • Declare $count with the my scope operator to permit use strict.
  • Add use strict.
  • Use use warnings instead of using -w in the shebang.
  • Don't unlink $cmd when done (prevents unnecessary rebuilding).
  • Improve the error message when running with insufficient permissions, e.g., non-root.

MFC after: 5 weeks
Sponsored by: Dell EMC Isilon

Details

Provenance
ngieAuthored on
Parents
rS317305: Fix the NFSv4.1/pNFS client return layout on close.
Branches
Unknown
Tags
Unknown