am: move advice.amWorkDir parsing back to advice.c
[gitweb.git] / t / test-lib.sh
index ea2bbaaa7ab4dc77d0ef13cafbe45d1b12bd67e8..f3771ab195bad599e908b2ceb1d956fed5213e9b 100644 (file)
@@ -1106,12 +1106,7 @@ test_lazy_prereq UTF8_NFD_TO_NFC '
        auml=$(printf "\303\244")
        aumlcdiar=$(printf "\141\314\210")
        >"$auml" &&
-       case "$(echo *)" in
-       "$aumlcdiar")
-               true ;;
-       *)
-               false ;;
-       esac
+       test -f "$aumlcdiar"
 '
 
 test_lazy_prereq AUTOIDENT '