in reply to Re: Is there any way to override "file test operator"?
in thread Is there any way to override "file test operator"?

Another use-case is for testing, e.g. I have a test script that detects whether bash exists using -x "/bin/bash". I'd like to be able to simulate the absence of bash by returning false to that expression even though /bin/bash is actually on my filesystem.
  • Comment on Re^2: Is there any way to override "file test operator"?