2024-06-17 12:49.33: 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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-arm64.1 host-system-other.1 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-06-17 12:49.33: Using cache hint "dinosaure/hxd-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.1-ff35d53bbd2988b7443eaed260b88a65" 2024-06-17 12:49.33: 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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-arm64.1 host-system-other.1 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-06-17 12:49.33: Waiting for resource in pool OCluster 2024-06-17 14:29.44: Waiting for worker… 2024-06-17 17:17.30: Got resource from pool OCluster Building on m1-worker-03 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-06-17 17:17.30 ---> 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-06-17 17:17.31 ---> 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-06-17 17:17.31 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 23.4.0 The OCaml toplevel, version 4.14.2 2.1.5 2024-06-17 17:17.31 ---> 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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 0dc68a8b92..e06bf2b8c3 master -> origin/master a6069b9eeb [new release] dune (15 packages) (3.16.0) <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository default (at git+file:///Users/mac1000/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) default (at git+file:///Users/mac1000/opam-repository): [WARNING] please ensure to have GNU patch installed as `patch`. Otherwise update may fail silently (since it can't remove files). Constructing initial basis... The following actions will be performed: - install host-system-other 1 - recompile ocaml-options-vanilla 1 [upstream or system changes] - recompile ocaml-base-compiler 4.14.2 [upstream or system changes] - install host-arch-arm64 1 - recompile ocaml-config 2 [upstream or system changes] - recompile ocaml 4.14.2 [uses ocaml-base-compiler, ocaml-config] ===== 2 to install | 4 to recompile ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> removed ocaml-options-vanilla.1 -> installed host-arch-arm64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.2 (cached) -> removed ocaml.4.14.2 -> removed ocaml-config.2 -> removed ocaml-base-compiler.4.14.2 -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.2 -> installed ocaml.4.14.2 Done. # Run eval $(opam env) to update the current shell environment 2024-06-17 17:17.31 ---> using "c8892a8dc034757fd755e78fd8a062509867cd46b19d740b1eea9f67853d4a1b" from cache /: (copy (src hxd.opam) (dst ./src/./)) 2024-06-17 17:17.32 ---> saved as "7e78f0a83d2e527ee0933c8b78c939dd502ea9f384a1bfc2a1e8f66e4f8246b1" /: (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-06-17 17:17.40 ---> saved as "fa7f2fd948399a47188108f36f18ecd245c209ec91d67e7fa3761591d3f3f450" /: (env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-arm64.1 host-system-other.1 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 host-system-other is already installed (current version is 1). [NOTE] Package host-arch-arm64 is already installed (current version is 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-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-06-17 17:17.58 ---> saved as "d888e54778a70aa0a687be096e7493c698040c5d9f6931f9b64914b631a7b08a" /: (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 host-system-other is already installed (current version is 1). [NOTE] Package host-arch-arm64 is already installed (current version is 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-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 cmdliner 1.3.0 - install dune 3.16.0 - install csexp 1.5.2 - install dune-configurator 3.16.0 ===== 4 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved csexp.1.5.2 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved dune-configurator.3.16.0 (cached) -> retrieved dune.3.16.0 (cached) -> installed cmdliner.1.3.0 -> installed dune.3.16.0 -> installed csexp.1.5.2 -> installed dune-configurator.3.16.0 Done. # Run eval $(opam env) to update the current shell environment 2024-06-17 17:18.42 ---> saved as "dfc19b757c1dabf4d7f83ad9b159c3b743e765628d7537f9e821e0a6e5ec9cad" /: (copy (src .) (dst ./src)) 2024-06-17 17:18.43 ---> saved as "e5a54719f6ff217b24691ef752cf2c0763e36dc8bbc31decc9cc3a205cdf0453" /: (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/b406f45543bbb04913bd1cd74d020b83/default/test/options.t _build/.sandbox/b406f45543bbb04913bd1cd74d020b83/default/test/options.t.corrected diff --git a/_build/.sandbox/b406f45543bbb04913bd1cd74d020b83/default/test/options.t b/_build/.sandbox/b406f45543bbb04913bd1cd74d020b83/default/test/options.t.corrected index 78279eb..c7fdcdb 100644 --- a/_build/.sandbox/b406f45543bbb04913bd1cd74d020b83/default/test/options.t +++ b/_build/.sandbox/b406f45543bbb04913bd1cd74d020b83/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/075c74392a4fec0499c2b1a4483b1d65/default/test/simple.t _build/.sandbox/075c74392a4fec0499c2b1a4483b1d65/default/test/simple.t.corrected diff --git a/_build/.sandbox/075c74392a4fec0499c2b1a4483b1d65/default/test/simple.t b/_build/.sandbox/075c74392a4fec0499c2b1a4483b1d65/default/test/simple.t.corrected index a128cf2..7091f4e 100644 --- a/_build/.sandbox/075c74392a4fec0499c2b1a4483b1d65/default/test/simple.t +++ b/_build/.sandbox/075c74392a4fec0499c2b1a4483b1d65/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/752f13984cd605aec555ac1f1c92ba14/default/test/caml.t _build/.sandbox/752f13984cd605aec555ac1f1c92ba14/default/test/caml.t.corrected diff --git a/_build/.sandbox/752f13984cd605aec555ac1f1c92ba14/default/test/caml.t b/_build/.sandbox/752f13984cd605aec555ac1f1c92ba14/default/test/caml.t.corrected index 3d7babb..9c9901d 100644 --- a/_build/.sandbox/752f13984cd605aec555ac1f1c92ba14/default/test/caml.t +++ b/_build/.sandbox/752f13984cd605aec555ac1f1c92ba14/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-06-17 17:18.50: Job failed: Failed: Build failed