tests: simplify some shell code. * tests/fail.at: Simplify. * tests/static.at: Likewise. Signed-off-by: Gary V. Vaughan <gary@gnu.org>