... the POSIX options suffice.
This maintains compatibility with the system `diff` on platforms
like AIX.
RUN: apinotes-test %S/Inputs/Frameworks/SimpleKit.framework/Headers/SimpleKit.apinotes > %t.result
-RUN: not diff --strip-trailing-cr --ed %t.result %S/Inputs/Frameworks/SimpleKit.framework/Headers/SimpleKit.apinotes | FileCheck %s
+RUN: not diff -b -e %t.result %S/Inputs/Frameworks/SimpleKit.framework/Headers/SimpleKit.apinotes | FileCheck %s
-The `--ed` parameter to `diff` is not implemented in the builtin diff, assume
-that we have a GNU compatible diff when we have a shell.
+The `-e` option of `diff` is not implemented in the builtin diff, assume
+that we have a POSIX compatible diff when we have a shell.
REQUIRES: shell
We expect only the document markers to be emitted
RUN: apinotes-test %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes > %t.result
-RUN: not diff --strip-trailing-cr %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes %t.result | FileCheck %s
+RUN: not diff -b %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes %t.result | FileCheck %s
Avoid Windows as the diff output differs due to line-endings and different diff
implementations.