HP: /usr/bin/test fixΒΆ

Title:HP: /usr/bin/test fix
Author:Douglas O’Leary <dkoleary@olearycomputers.com>
Description:HP: /usr/bin/test fix
Date created:05/2005
Date updated:06/2006
Disclaimer:Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me...

As it turns out, this is a 10.X and below issue. 11.X apparently has updated test to be a binary. I’m not sure if you get the same error message though.

To eliminate that annoying “/usr/bin/test[7]: test: argument expected”, edit the file (yes, it’s ascii) and put quotes around the $@ on/about line 7.