archrelease: copy trunk to staging-x86_64
[arch-packages.git] / patch / trunk / test-read-only.patch
blob57efb654354dfbd796ad7d04fae787d4ae8521dc
1 # Remove read-only-files test.
2 # Fail to build on btrfs with compression enabled.
4 # [44] patch -p0 --read-only=fail < f.diff || echo "Status: $?" -- ok
5 # [54] patch -f -p0 --read-only=warn < f.diff || echo "Status: $?" -- FAILED
6 # --- expected
7 # +++ got
8 # @@ -1,4 +1,4 @@
9 # File f is read-only; trying to patch anyway
10 # patching file f
11 # -File f is read-only; trying to patch anyway
12 # -patching file f
13 # +/home/seblu/arch/packages/core/patch/trunk/src/patch-2.7.6/src/patch: setting attribute btrfs.compression for btrfs.compression: Permission denied
14 # +Status: 2
15 # [65] patch -f -p0 --read-only=ignore < f.diff || echo "Status: $?" -- FAILED
16 # --- expected
17 # +++ got
18 # @@ -1,2 +1,3 @@
19 # patching file f
20 # -patching file f
21 # +/home/seblu/arch/packages/core/patch/trunk/src/patch-2.7.6/src/patch: setting attribute btrfs.compression for btrfs.compression: Permission denied
22 # +Status: 2
23 # 3 tests (1 passed, 2 failed)
24 # FAIL read-only-files (exit status: 1)
27 --- a/tests/Makefile.am 2023-02-12 21:53:41.703257940 +0100
28 +++ b/tests/Makefile.am 2023-02-12 22:01:28.252357777 +0100
29 @@ -55,7 +55,6 @@
30 preserve-c-function-names \
31 preserve-mode-and-timestamp \
32 quoted-filenames \
33 - read-only-files \
34 reject-format \
35 remember-backup-files \
36 remember-reject-files \