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

macos-homebrew-4.14_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-4.14_arm64_opam-2.1)
Base: macos-homebrew-ocaml-4.14
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-4.14
# macos-homebrew-4.14_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-threads.base base-unix.base cmdliner.1.2.0 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14-macos-homebrew-4.14_arm64_opam-2.1-c71b2c6bc38d22dd4f84a887ed081549"
2024-04-30 08:54.52: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_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-threads.base base-unix.base cmdliner.1.2.0 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.25: Waiting for worker…
2024-04-30 18:48.23: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
HEAD is now at 6c3c1ff Merge pull request #13 from dinosaure/prepare-v0.3.2


(from macos-homebrew-ocaml-4.14)
2024-04-30 18:48.23 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_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:48.24 ---> using "25b9bb92388ede51fae89d4de3a3dbc7bf0716456eef41b1ea8636995a3eeab7" 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:48.24 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-30 18:48.24 ---> using "f4908fd0e5799798bb14c138897a7b0cd12737558237c57b6cfe71feb61d52ba" 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
  - ocaml-config.3
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:48.24 ---> using "4a646ae2cb5f14aae7c83b3016a2084a45899eebaebbe364eddbdc8edd8293bd" from cache


/: (copy (src hxd.opam) (dst ./src/./))
2024-04-30 18:48.25 ---> saved as "400a86c8f4fdea79ec76680e5574c1c89217586b6e2f4518bac626deda10b7ca"


/: (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:48.32 ---> saved as "3748528374fac0f556ef9a3b1f8bf690c9ba433fbf908f855cceed15de0f6d55"


/: (env DEPS "base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 2
Constructing conflict graph...
Conflict graph has 2 + 1 = 3 vertices
2024-04-30 18:48.49 ---> saved as "1f862dcde71e62f486531cf0d8b8795076ebbb3c32392e4239b77ea12579bb8c"


/: (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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 2
Constructing conflict graph...
Conflict graph has 2 + 1 = 3 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:49.33 ---> saved as "408db5f1bce9a5542d4af0761f7488fa9fefc8d07260d27ad26311e98f390832"


/: (copy (src .) (dst ./src))
2024-04-30 18:49.36 ---> saved as "3a7ff6448191c0f46116bd98cc41e8cfbcfcd8e0f18862ed0982e47733342162"


/: (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/583eb335f64b571c3c99fd2cdbad8ed7/default/test/options.t _build/.sandbox/583eb335f64b571c3c99fd2cdbad8ed7/default/test/options.t.corrected
diff --git a/_build/.sandbox/583eb335f64b571c3c99fd2cdbad8ed7/default/test/options.t b/_build/.sandbox/583eb335f64b571c3c99fd2cdbad8ed7/default/test/options.t.corrected
index 78279eb..c7fdcdb 100644
--- a/_build/.sandbox/583eb335f64b571c3c99fd2cdbad8ed7/default/test/options.t
+++ b/_build/.sandbox/583eb335f64b571c3c99fd2cdbad8ed7/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/ac127b0f9be97c900eaea1fb858fb30a/default/test/simple.t _build/.sandbox/ac127b0f9be97c900eaea1fb858fb30a/default/test/simple.t.corrected
diff --git a/_build/.sandbox/ac127b0f9be97c900eaea1fb858fb30a/default/test/simple.t b/_build/.sandbox/ac127b0f9be97c900eaea1fb858fb30a/default/test/simple.t.corrected
index a128cf2..7091f4e 100644
--- a/_build/.sandbox/ac127b0f9be97c900eaea1fb858fb30a/default/test/simple.t
+++ b/_build/.sandbox/ac127b0f9be97c900eaea1fb858fb30a/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/f7503db2e13caa9dda3120b352a8daac/default/test/caml.t _build/.sandbox/f7503db2e13caa9dda3120b352a8daac/default/test/caml.t.corrected
diff --git a/_build/.sandbox/f7503db2e13caa9dda3120b352a8daac/default/test/caml.t b/_build/.sandbox/f7503db2e13caa9dda3120b352a8daac/default/test/caml.t.corrected
index 3d7babb..9c9901d 100644
--- a/_build/.sandbox/f7503db2e13caa9dda3120b352a8daac/default/test/caml.t
+++ b/_build/.sandbox/f7503db2e13caa9dda3120b352a8daac/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:49.42: Job failed: Failed: Build failed