#!/usr/bin/env bash # Collect the command outputs this driver parses, from a real QNAP NAS. # # Run once against a QTS 4 box and once against a QTS 5 box; the resulting # files become the test fixtures. Writing parsers against guessed output is how # a driver ends up passing its own tests and failing on hardware, so this runs # before any parser code. # # ./tools/harvest.sh admin@nas1.example.lan qts4 # ./tools/harvest.sh admin@nas2.example.lan qts5 # # Output lands in tools/harvest-out/