]> git.koha-community.org Git - koha.git/commit
Bug 19169: Add a test to detect unneeded 'atomicupdate' files
authorMason James <mtj@kohaaloha.com>
Sat, 5 Mar 2022 02:30:21 +0000 (15:30 +1300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 16 Mar 2022 08:30:50 +0000 (22:30 -1000)
commit0a6c8afd77b9d3204d949d3d2f0c95ede13f5990
tree0777c5e9740dfd33df7b1a11914974322f1e227d
parent8b84f60de3c6340fe1bbeb861b46d8ac689d47ca
Bug 19169: Add a test to detect unneeded 'atomicupdate' files

to test...

1/ set git repo
    $ git reset --hard v21.11.03

2/ run test
    $ prove ./t
    OK

3/ apply patch

4/ run test again, observe FAIL

    $ prove ./t/00-check-atomic-updates.pl
    ./t/00-check-atomic-updates.pl .. 1/?
    #   Failed test 'check for unhandled atomic updates: bug_29596.pl'
    #   at ./t/00-check-atomic-updates.pl line 34.
    #                   'bug_29596.pl'
    #           matches '(?^u:.*pl$)'
    # Looks like you failed 1 test of 3.
    ./t/00-check-atomic-updates.pl .. Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/3 subtests

JD Amended patch: fix copyright year
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/00-check-atomic-updates.pl [new file with mode: 0755]