var_bash6.tests 273 B

123456789
  1. # This testcase checks globbing correctness in ${v/a/b}
  2. >a1z; >a2z;
  3. echo 'Expected' 'Actual'
  4. v='a bz'; echo 'a*z :' "${v/a*z/a*z}"
  5. v='a bz'; echo 'z :' "${v/a*z/\z}"
  6. v='a bz'; echo 'a1z a2z:' ${v/a*z/a*z}
  7. v='a bz'; echo 'z :' ${v/a*z/\z}
  8. rm a1z a2z