Organisationsdinosaurehxd6c3c1f (master)macos-homebrew-5.1_arm64_opam-2.1

macos-homebrew-5.1_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 08:54.52: New job: test dinosaure/hxd https://github.com/dinosaure/hxd.git#refs/heads/master (6c3c1ff212f67a3d2106e18b2a0358b2dc5f56bd) (macos-arm64:macos-homebrew-5.1_arm64_opam-2.1)
Base: macos-homebrew-ocaml-5.1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/hxd.git" -b "master" && cd "hxd" && git reset --hard 6c3c1ff2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.1
# macos-homebrew-5.1_arm64_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.1 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 hxd.opam ./src/./
RUN opam pin add -yn hxd.dev './src/./'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y hxd.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-04-30 08:54.52: Using cache hint "dinosaure/hxd-macos-macos-homebrew-ocaml-5.1-macos-homebrew-5.1_arm64_opam-2.1-e9ec3f6f510e0b84ddac749b4fd4d121"
2024-04-30 08:54.52: Using OBuilder spec:
((from macos-homebrew-ocaml-5.1)
 (comment macos-homebrew-5.1_arm64_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src hxd.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn hxd.dev './src/./'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y hxd.dev $DEPS"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst ./src))
 (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-04-30 08:54.52: Waiting for resource in pool OCluster
2024-04-30 16:31.10: Waiting for worker…
2024-04-30 18:47.31: Got resource from pool OCluster
Building on m1-worker-04
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/hxd.git-a59627a5a14409c10c141316f4e733122b328010/.git/
HEAD is now at 6c3c1ff Merge pull request #13 from dinosaure/prepare-v0.3.2


(from macos-homebrew-ocaml-5.1)
2024-04-30 18:47.33 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache


/: (comment macos-homebrew-5.1_arm64_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
2024-04-30 18:47.33 ---> using "22cd16a64c632695859fdcedd94c70c4cc08c65c5ac152872708c4f22bdb6b91" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-04-30 18:47.33 ---> using "a88b721b113bbcb0b1d9c9d9953be1d371de01973789d03f702acf5d676e7e9e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-30 18:47.33 ---> using "b9cb7a7e67e401d6d05e669cb4a23e6bbd1c29e9a607e1e5d301dc2a9918b0c9" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b530f3bbd2..e90e14059c  master     -> origin/master
042d5efee9 [new release] dune (15 packages) (3.15.2)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository


Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-04-30 18:47.34 ---> using "aea37ba37306c57d478b82361b56aff43e988759c1b185ce5b35eb81a5486125" from cache


/: (copy (src hxd.opam) (dst ./src/./))
2024-04-30 18:47.35 ---> saved as "4b658127ef0898ec191310f4a18bea2ef784fe55eb9b932cedd5985a193d8243"


/: (run (network host)
        (shell "opam pin add -yn hxd.dev './src/./'"))
[hxd.dev] synchronised (file:///Users/mac1000/src)
hxd is now pinned to file:///Users/mac1000/src (version dev)
2024-04-30 18:47.43 ---> saved as "8dcb5b3f7951bbab9332d60b9c9cb5537d67b66b65ea1551b52e5d51a8172524"


/: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y hxd.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hxd.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
No 0-1 knapsack inequalities detected
Constructing conflict graph...
Conflict graph has 2 + 2 = 4 vertices
2024-04-30 18:48.02 ---> saved as "cf2ffa8c9a2504f0cf3d50b05f4de38635452c0703521b826bcd7e493dc74ab5"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
No 0-1 knapsack inequalities detected
Constructing conflict graph...
Conflict graph has 2 + 2 = 4 vertices
The following actions will be performed:
  - install dune              3.15.2
  - install cmdliner          1.2.0
  - install csexp             1.5.2
  - install dune-configurator 3.15.2
===== 4 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> retrieved dune.3.15.2  (cached)
-> installed cmdliner.1.2.0
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 18:48.47 ---> saved as "e5bb56c71596dcd23e97ee5a3b3ade3e87ba84c192d244b76ff45dba3dcc5afd"


/: (copy (src .) (dst ./src))
2024-04-30 18:48.48 ---> saved as "fba8eca2ce500446450c9efb2084892dd61b06495401dd8666aac4561e582afa"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/options.t", line 1, characters 0-0:
/opt/homebrew/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/169d461bb022fcc9bc40ad6153da60d9/default/test/options.t _build/.sandbox/169d461bb022fcc9bc40ad6153da60d9/default/test/options.t.corrected
diff --git a/_build/.sandbox/169d461bb022fcc9bc40ad6153da60d9/default/test/options.t b/_build/.sandbox/169d461bb022fcc9bc40ad6153da60d9/default/test/options.t.corrected
index 78279eb..c7fdcdb 100644
--- a/_build/.sandbox/169d461bb022fcc9bc40ad6153da60d9/default/test/options.t
+++ b/_build/.sandbox/169d461bb022fcc9bc40ad6153da60d9/default/test/options.t.corrected
@@ -1,56 +1,67 @@
 Tests about options
   $ echo -n "foo & bar" | hxd.xxd -g 4
-  00000000: 666f6f20 26206261 72                 foo & bar
+  00000000: 2d6e2066 6f6f2026 20626172 0a        -n foo & bar.
   $ echo -n "foo & bar" | hxd.xxd -g 8
-  00000000: 666f6f2026206261 72                foo & bar
+  00000000: 2d6e20666f6f2026 206261720a        -n foo & bar.
   $ echo -n "foo & bar" | hxd.xxd -g 9
-  00000000: 666f6f202620626172                 foo & bar
+  00000000: 2d6e20666f6f202620 6261720a        -n foo & bar.
   $ echo -n "foo & bar" | hxd.xxd -c 9
-  00000000: 666f 6f20 2620 6261 72  foo & bar
+  00000000: 2d6e 2066 6f6f 2026 20  -n foo & 
+  00000009: 6261 720a               bar.
   $ echo -n "foo & bar" | hxd.xxd -c 1
-  00000000: 66  f
-  00000001: 6f  o
-  00000002: 6f  o
-  00000003: 20   
-  00000004: 26  &
-  00000005: 20   
-  00000006: 62  b
-  00000007: 61  a
-  00000008: 72  r
+  00000000: 2d  -
+  00000001: 6e  n
+  00000002: 20   
+  00000003: 66  f
+  00000004: 6f  o
+  00000005: 6f  o
+  00000006: 20   
+  00000007: 26  &
+  00000008: 20   
+  00000009: 62  b
+  0000000a: 61  a
+  0000000b: 72  r
+  0000000c: 0a  .
   $ echo -n "abababababababab" | hxd.xxd -g 3
-  00000000: 616261 626162 616261 626162 616261 62  abababababababab
+  00000000: 2d6e20 616261 626162 616261 626162 61  -n ababababababa
+  00000010: 626162 0a                              bab.
   $ echo -n "ababab" | hxd.xxd -c 3
-  00000000: 6162 61  aba
-  00000003: 6261 62  bab
+  00000000: 2d6e 20  -n 
+  00000003: 6162 61  aba
+  00000006: 6261 62  bab
+  00000009: 0a       .
   $ echo -n "Zjklmno" | hxd.xxd
-  00000000: 5a6a 6b6c 6d6e 6f                        Zjklmno
+  00000000: 2d6e 205a 6a6b 6c6d 6e6f 0a              -n Zjklmno.
   $ echo -n "Zjklmno" | hxd.xxd -u
-  00000000: 5A6A 6B6C 6D6E 6F                        Zjklmno
+  00000000: 2D6E 205A 6A6B 6C6D 6E6F 0A              -n Zjklmno.
   $ echo -n "" | hxd.xxd -s +1
-  xxd: sorry cannot seek.
-  [123]
+  00000001: 6e20 0a                                  n .
   $ echo -n "foo & bar" | hxd.xxd -s +6
-  00000006: 6261 72                                  bar
+  00000006: 2026 2062 6172 0a                         & bar.
   $ echo -n "foo & bar" | hxd.xxd -s 6
-  00000006: 6261 72                                  bar
+  00000006: 2026 2062 6172 0a                         & bar.
   $ echo "foo & bar" | hxd.xxd -s 6 -l 3
   00000006: 6261 72                                  bar
   $ echo -n "foo & bar" | hxd.xxd -l 3
-  00000000: 666f 6f                                  foo
+  00000000: 2d6e 20                                  -n 
   $ echo -n "abababababababab" | hxd.xxd -g 16
-  00000000: 61626162616261626162616261626162  abababababababab
+  00000000: 2d6e2061626162616261626162616261  -n ababababababa
+  00000010: 6261620a                          bab.
   $ echo -n "abababababababab" | hxd.xxd -g 3
-  00000000: 616261 626162 616261 626162 616261 62  abababababababab
+  00000000: 2d6e20 616261 626162 616261 626162 61  -n ababababababa
+  00000010: 626162 0a                              bab.
   $ echo -n "0000000000000000abababab" | hxd.xxd -c 2 -g 3
-  00000000: 3030  00
-  00000002: 3030  00
+  00000000: 2d6e  -n
+  00000002: 2030   0
   00000004: 3030  00
   00000006: 3030  00
   00000008: 3030  00
   0000000a: 3030  00
   0000000c: 3030  00
   0000000e: 3030  00
-  00000010: 6162  ab
-  00000012: 6162  ab
-  00000014: 6162  ab
-  00000016: 6162  ab
+  00000010: 3030  00
+  00000012: 3061  0a
+  00000014: 6261  ba
+  00000016: 6261  ba
+  00000018: 6261  ba
+  0000001a: 620a  b.
File "test/simple.t", line 1, characters 0-0:
/opt/homebrew/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/91aa461734b9a9d849a3b2db6a0b4c2d/default/test/simple.t _build/.sandbox/91aa461734b9a9d849a3b2db6a0b4c2d/default/test/simple.t.corrected
diff --git a/_build/.sandbox/91aa461734b9a9d849a3b2db6a0b4c2d/default/test/simple.t b/_build/.sandbox/91aa461734b9a9d849a3b2db6a0b4c2d/default/test/simple.t.corrected
index a128cf2..7091f4e 100644
--- a/_build/.sandbox/91aa461734b9a9d849a3b2db6a0b4c2d/default/test/simple.t
+++ b/_build/.sandbox/91aa461734b9a9d849a3b2db6a0b4c2d/default/test/simple.t.corrected
@@ -1,13 +1,15 @@
 Simple tests
   $ echo -n "foo" | hxd.xxd
-  00000000: 666f 6f                                  foo
+  00000000: 2d6e 2066 6f6f 0a                        -n foo.
   $ echo -n "aaaaaaaa" | hxd.xxd
-  00000000: 6161 6161 6161 6161                      aaaaaaaa
+  00000000: 2d6e 2061 6161 6161 6161 610a            -n aaaaaaaa.
   $ echo -n "abababab" | hxd.xxd
-  00000000: 6162 6162 6162 6162                      abababab
+  00000000: 2d6e 2061 6261 6261 6261 620a            -n abababab.
   $ echo -n "abababababababab" | hxd.xxd
-  00000000: 6162 6162 6162 6162 6162 6162 6162 6162  abababababababab
+  00000000: 2d6e 2061 6261 6261 6261 6261 6261 6261  -n ababababababa
+  00000010: 6261 620a                                bab.
   $ echo -n "" | hxd.xxd
+  00000000: 2d6e 200a                                -n .
   $ printf '\0' | hxd.xxd
   00000000: 00                                       .
   $ printf 'abababababababab\0' | hxd.xxd
@@ -25,7 +27,7 @@ Simple tests
   00000080: 210a                                     !.
   $ echo -n "Hello World!" > input
   $ hxd.xxd input
-  00000000: 4865 6c6c 6f20 576f 726c 6421            Hello World!
+  00000000: 2d6e 2048 656c 6c6f 2057 6f72 6c64 210a  -n Hello World!.
   $ hxd.xxd zh.txt
   00000000: e8af b620 e6af 9420 e8a5 bf20 e8bf aa20  ... ... ... ... 
   00000010: e4bc 8a20 e889 bee5 bc97 20e5 9089 20e8  ... ...... ... .
File "test/caml.t", line 1, characters 0-0:
/opt/homebrew/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/f4e75181df14402f8f3dcaa3288b581a/default/test/caml.t _build/.sandbox/f4e75181df14402f8f3dcaa3288b581a/default/test/caml.t.corrected
diff --git a/_build/.sandbox/f4e75181df14402f8f3dcaa3288b581a/default/test/caml.t b/_build/.sandbox/f4e75181df14402f8f3dcaa3288b581a/default/test/caml.t.corrected
index 3d7babb..9c9901d 100644
--- a/_build/.sandbox/f4e75181df14402f8f3dcaa3288b581a/default/test/caml.t
+++ b/_build/.sandbox/f4e75181df14402f8f3dcaa3288b581a/default/test/caml.t.corrected
@@ -1,22 +1,24 @@
 Tests about caml outputs
   $ echo -n "foo" | hxd.caml
-  [ "\x66\x6f\x6f" ]
+  [ "\x2d\x6e\x20\x66\x6f\x6f\x0a" ]
   $ echo -n "Hello World!" | hxd.caml > main.ml
   $ ocamlopt main.ml
   $ ./a.out
   $ echo -n "abababababababab" | hxd.caml
-  [ "\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62" ]
+  [ "\x2d\x6e\x20\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61"
+  ; "\x62\x61\x62\x0a" ]
   $ printf "abababababababab\0" | hxd.caml
   [ "\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62"
   ; "\x00" ]
   $ echo -n "aaaaaaaaa" | hxd.caml
-  [ "\x61\x61\x61\x61\x61\x61\x61\x61\x61" ]
+  [ "\x2d\x6e\x20\x61\x61\x61\x61\x61\x61\x61\x61\x61\x0a" ]
   $ echo -n "" | hxd.caml
+  [ "\x2d\x6e\x20\x0a" ]
   $ printf "\0" | hxd.caml
   [ "\x00" ]
   $ echo -n "Hello World!" > input
   $ hxd.caml input
-  [ "\x48\x65\x6c\x6c\x6f\x20\x57\x6f\x72\x6c\x64\x21" ]
+  [ "\x2d\x6e\x20\x48\x65\x6c\x6c\x6f\x20\x57\x6f\x72\x6c\x64\x21\x0a" ]
   $ hxd.caml zh.txt
   [ "\xe8\xaf\xb6\x20\xe6\xaf\x94\x20\xe8\xa5\xbf\x20\xe8\xbf\xaa\x20"
   ; "\xe4\xbc\x8a\x20\xe8\x89\xbe\xe5\xbc\x97\x20\xe5\x90\x89\x20\xe8"
@@ -36,16 +38,18 @@ Tests about caml outputs
   $ ./a.out > result.out
   $ diff zh.txt result.out
   $ echo -n "abababababababab" | hxd.caml -c2
-  [ "\x61\x62"
-  ; "\x61\x62"
-  ; "\x61\x62"
-  ; "\x61\x62"
-  ; "\x61\x62"
-  ; "\x61\x62"
-  ; "\x61\x62"
-  ; "\x61\x62" ]
+  [ "\x2d\x6e"
+  ; "\x20\x61"
+  ; "\x62\x61"
+  ; "\x62\x61"
+  ; "\x62\x61"
+  ; "\x62\x61"
+  ; "\x62\x61"
+  ; "\x62\x61"
+  ; "\x62\x61"
+  ; "\x62\x0a" ]
   $ echo -n "foo & bar" | hxd.caml -k array
-  [| "\x66\x6f\x6f\x20\x26\x20\x62\x61\x72" |]
+  [| "\x2d\x6e\x20\x66\x6f\x6f\x20\x26\x20\x62\x61\x72\x0a" |]
   $ cat >main.ml <<EOF
   > let input =
   > EOF
@@ -94,7 +98,8 @@ Tests about caml outputs
   $ echo "foo & bar" | hxd.caml --with-comments -c 10
   [ "\x66\x6f\x6f\x20\x26\x20\x62\x61\x72\x0a" ] (* foo & bar. *)
   $ echo -n "abababababababab" | hxd.caml --with-comments
-  [ "\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62" ] (* abababababababab *)
+  [ "\x2d\x6e\x20\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61"   (* -n ababababababa *)
+  ; "\x62\x61\x62\x0a" ]                                                 (* bab.             *)
   $ printf "abababababababab\0" | hxd.caml --with-comments
   [ "\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62"   (* abababababababab *)
   ; "\x00" ]                                                             (* .                *)
@@ -112,8 +117,9 @@ Tests about caml outputs
   [| "\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62"    (* abababababababab *)
    ; "\x0a" |]                                                             (* .                *)
   $ echo -n "abababababababababababababababab" | hxd.caml --with-comments -k array
-  [| "\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62"    (* abababababababab *)
-   ; "\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62" |] (* abababababababab *)
+  [| "\x2d\x6e\x20\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61"    (* -n ababababababa *)
+   ; "\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61\x62\x61"    (* babababababababa *)
+   ; "\x62\x61\x62\x0a" |]                                                 (* bab.             *)
   $ echo "foo & bar" | hxd.caml --with-comments -k array
   [| "\x66\x6f\x6f\x20\x26\x20\x62\x61\x72\x0a" |]                         (* foo & bar.       *)
   $ echo "foo & bar" | hxd.caml --with-comments -k array -c10
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-30 18:48.54: Job failed: Failed: Build failed