Suppress a warning from grep which causes tests to fail. Taken from upstream pull request: https://github.com/aureliojargas/clitest/pull/54 diff --git a/test/inline-match-egrep.sh b/test/inline-match-egrep.sh --- a/test/inline-match-egrep.sh +++ b/test/inline-match-egrep.sh @@ -42,7 +42,7 @@ $ printf ' \t \t\t \n' #=> --egrep ^ $ # egrep regexes. You'll need to test in your system if that's the # case. I recommend using a literal tab to avoid problems. -$ printf 'may\tfail' #=> --egrep ^may\tfail$ +$ printf 'may\tfail' #=> --egrep ^may\\tfail$ $ printf 'may\tfail' #=> --egrep ^may[\t]fail$ $ printf 'will\tmatch' #=> --egrep ^will match$ @@ -51,7 +51,7 @@ $ printf 'will\tmatch' #=> --egrep ^will match$ # These tests will fail: $ printf 'will\nfail' #=> --egrep will.*fail -$ printf 'will\nfail' #=> --egrep will\nfail +$ printf 'will\nfail' #=> --egrep will\\nfail # If one line of a multiline results matches, the test is OK '/guix/'>summaryrefslogtreecommitdiff
path: root/nix/nix-daemon
AgeCommit message (Expand)Author
2023-12-11daemon: Implement ‘substitute-urls’ RPC....* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump. (WorkerOp): Add ‘wopSubstituteURLs’. * nix/nix-daemon/nix-daemon.cc (performOp): Implement it. * guix/store.scm (%protocol-version): Bump. (operation-id): Add ‘substitute-urls’. (substitute-urls): New procedure. * tests/store.scm ("substitute-urls, default") ("substitute-urls, client-specified URLs") ("substitute-urls, disabled"): New tests. Change-Id: I2c0119500c3a1eecfa5ebf32463ffb0f173161de Ludovic Courtès
2022-04-14daemon: Support systemd-style socket activation....* nix/nix-daemon/guix-daemon.cc (SD_LISTEN_FDS_START): New macro. (systemd_activation_sockets): New function. (main): Use it. Remove obsolete 'printMsg' call. * doc/guix.texi (Invoking guix-daemon): Document socket activation. Ludovic Courtès