Description: Avoid error messages when opening a new tomb Make sure control file exists and has user ownership before user writes to it. Author: Sven Geuer Bug: https://github.com/dyne/Tomb/issues/369 Last-Update: 2019-11-04 --- a/tomb +++ b/tomb @@ -2197,14 +2197,15 @@ # {{{ Open _update_control_file() { - # replaces a control file with new contents and gives it user ownership + # make sure a control file exists, gives it user ownership + # and replaces it with new contents # stdin = contents # $1 = path to control file # $2 = contents [[ "$2" = "" ]] && return 1 _sudo touch "$1" - print "$2" > "$1" _sudo chown ${_UID}:${_GID} "$1" + print "$2" > "$1" _verbose "updated control file $1 = $2" } '>koszko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/swh.scm
pan title='2023-08-29 13:28:35 +0100'>2023-08-29
AgeCommit message (Expand)Author
2021-01-21swh: Test proper handling of null visit snapshot URL....* tests/swh.scm (%origin): Change "visits_url" to "origin_visits_url". (%visits): New variable. ("origin-visit, no snapshots"): New test. Ludovic Courtès
2020-12-21tests: Fix malformed JSON....Guile-JSON 4.3.2 would parse in spite of these typos, but 4.4.1 is stricter. * tests/swh.scm (%directory-entries): Add missing comma. * tests/cve-sample.json: Likewise. Ludovic Courtès
gnu: smartdns: Update to 43....* gnu/packages/dns.scm (smartdns): Update to 43. [arguments]<#:tests?>: Enable tests. <#:test-target>: Set to "test". <#:make-flags>: Set "VER". <#:phases>: Add phase 'skip-unavailable-tests, 'prepare-test-dir, 'enter-test-dir, 'leave-test-dir. [native-inputs]: Add googletest, isc-bind:utils. Signed-off-by: Christopher Baines <mail@cbaines.net> Hilton Chain
2023-08-16gnu: ddclient: Remove package....ddclient is unmaintained as of 2023-07-04 [1]. This reverts changes related to commit 0bc2d3e42b8800e875f24973f999739297f1f502. [1]: <https://github.com/ddclient/ddclient/issues/528> * gnu/packages/dns.scm (ddclient): Remove variable. * gnu/packages/patches/ddclient-skip-test.patch: Remove file. * gnu/local.mk: Unregister it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Bruno Victal
2023-07-23gnu: knot: Update to 3.2.9....* gnu/packages/dns.scm (knot): Update to 3.2.9. Tobias Geerinckx-Rice