Loading pkgs/development/tools/build-managers/goredo/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -9,11 +9,11 @@ buildGoModule rec { pname = "goredo"; version = "1.31.0"; version = "2.1.0"; src = fetchurl { url = "http://www.goredo.cypherpunks.ru/download/${pname}-${version}.tar.zst"; hash = "sha256-z7u71VFMoq4VwHohMnYx/ahBSkRZHoI8MZet9gO+XVw="; hash = "sha256-ithb4giKOA0egl3Cuz8Jz03BwJ7TSWun8O8oYVrrETc="; }; patches = [ ./fix-tests.diff ]; Loading pkgs/development/tools/build-managers/goredo/fix-tests.diff +27 −6 Original line number Diff line number Diff line diff '--color=auto' -ru goredo-1.30.0/t/goredo-double-consideration.t goredo-1.30.0.new/t/goredo-double-consideration.t --- goredo-1.30.0/t/goredo-double-consideration.t 2023-01-18 13:16:01.000000000 +0100 +++ goredo-1.30.0.new/t/goredo-double-consideration.t 2023-03-11 16:15:19.434788789 +0100 diff '--color=auto' -ru goredo-2.0.0/t/goredo-chmoding.t goredo-2.0.0.new/t/goredo-chmoding.t --- goredo-2.0.0/t/goredo-chmoding.t 2023-10-08 18:50:45.000000000 +0200 +++ goredo-2.0.0.new/t/goredo-chmoding.t 2023-10-08 20:23:54.862618888 +0200 @@ -8,7 +8,7 @@ echo echo ok > foo.do redo foo test_expect_success "foo is non executable" '[ ! -x foo ]' -inode0=`stat -f %i foo` +inode0=`stat -c %i foo` cat > foo.do <<EOF echo ok > \$3 @@ -16,7 +16,7 @@ EOF redo foo test_expect_success "foo is executable" '[ -x foo ]' -inode1=`stat -f %i foo` +inode1=`stat -c %i foo` test_expect_success "foo was not renamed" '[ $inode0 = $inode1 ]' test_done diff '--color=auto' -ru goredo-2.0.0/t/goredo-double-consideration.t goredo-2.0.0.new/t/goredo-double-consideration.t --- goredo-2.0.0/t/goredo-double-consideration.t 2023-10-08 18:50:45.000000000 +0200 +++ goredo-2.0.0.new/t/goredo-double-consideration.t 2023-10-08 20:19:29.213465244 +0200 @@ -17,7 +17,7 @@ redo-stamp <"\$3" EOF Loading @@ -10,9 +31,9 @@ diff '--color=auto' -ru goredo-1.30.0/t/goredo-double-consideration.t goredo-1.3 redo-always redo-stamp <"\$3" EOF diff '--color=auto' -ru goredo-1.30.0/t/redo-sh.tests/clean.do goredo-1.30.0.new/t/redo-sh.tests/clean.do --- goredo-1.30.0/t/redo-sh.tests/clean.do 2023-01-18 13:16:01.000000000 +0100 +++ goredo-1.30.0.new/t/redo-sh.tests/clean.do 2023-03-11 16:09:47.304372011 +0100 diff '--color=auto' -ru goredo-2.0.0/t/redo-sh.tests/clean.do goredo-2.0.0.new/t/redo-sh.tests/clean.do --- goredo-2.0.0/t/redo-sh.tests/clean.do 2023-10-08 18:50:45.000000000 +0200 +++ goredo-2.0.0.new/t/redo-sh.tests/clean.do 2023-10-08 20:19:29.213465244 +0200 @@ -1,4 +1,4 @@ for f in * ; do [ -d $f ] || continue Loading Loading
pkgs/development/tools/build-managers/goredo/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -9,11 +9,11 @@ buildGoModule rec { pname = "goredo"; version = "1.31.0"; version = "2.1.0"; src = fetchurl { url = "http://www.goredo.cypherpunks.ru/download/${pname}-${version}.tar.zst"; hash = "sha256-z7u71VFMoq4VwHohMnYx/ahBSkRZHoI8MZet9gO+XVw="; hash = "sha256-ithb4giKOA0egl3Cuz8Jz03BwJ7TSWun8O8oYVrrETc="; }; patches = [ ./fix-tests.diff ]; Loading
pkgs/development/tools/build-managers/goredo/fix-tests.diff +27 −6 Original line number Diff line number Diff line diff '--color=auto' -ru goredo-1.30.0/t/goredo-double-consideration.t goredo-1.30.0.new/t/goredo-double-consideration.t --- goredo-1.30.0/t/goredo-double-consideration.t 2023-01-18 13:16:01.000000000 +0100 +++ goredo-1.30.0.new/t/goredo-double-consideration.t 2023-03-11 16:15:19.434788789 +0100 diff '--color=auto' -ru goredo-2.0.0/t/goredo-chmoding.t goredo-2.0.0.new/t/goredo-chmoding.t --- goredo-2.0.0/t/goredo-chmoding.t 2023-10-08 18:50:45.000000000 +0200 +++ goredo-2.0.0.new/t/goredo-chmoding.t 2023-10-08 20:23:54.862618888 +0200 @@ -8,7 +8,7 @@ echo echo ok > foo.do redo foo test_expect_success "foo is non executable" '[ ! -x foo ]' -inode0=`stat -f %i foo` +inode0=`stat -c %i foo` cat > foo.do <<EOF echo ok > \$3 @@ -16,7 +16,7 @@ EOF redo foo test_expect_success "foo is executable" '[ -x foo ]' -inode1=`stat -f %i foo` +inode1=`stat -c %i foo` test_expect_success "foo was not renamed" '[ $inode0 = $inode1 ]' test_done diff '--color=auto' -ru goredo-2.0.0/t/goredo-double-consideration.t goredo-2.0.0.new/t/goredo-double-consideration.t --- goredo-2.0.0/t/goredo-double-consideration.t 2023-10-08 18:50:45.000000000 +0200 +++ goredo-2.0.0.new/t/goredo-double-consideration.t 2023-10-08 20:19:29.213465244 +0200 @@ -17,7 +17,7 @@ redo-stamp <"\$3" EOF Loading @@ -10,9 +31,9 @@ diff '--color=auto' -ru goredo-1.30.0/t/goredo-double-consideration.t goredo-1.3 redo-always redo-stamp <"\$3" EOF diff '--color=auto' -ru goredo-1.30.0/t/redo-sh.tests/clean.do goredo-1.30.0.new/t/redo-sh.tests/clean.do --- goredo-1.30.0/t/redo-sh.tests/clean.do 2023-01-18 13:16:01.000000000 +0100 +++ goredo-1.30.0.new/t/redo-sh.tests/clean.do 2023-03-11 16:09:47.304372011 +0100 diff '--color=auto' -ru goredo-2.0.0/t/redo-sh.tests/clean.do goredo-2.0.0.new/t/redo-sh.tests/clean.do --- goredo-2.0.0/t/redo-sh.tests/clean.do 2023-10-08 18:50:45.000000000 +0200 +++ goredo-2.0.0.new/t/redo-sh.tests/clean.do 2023-10-08 20:19:29.213465244 +0200 @@ -1,4 +1,4 @@ for f in * ; do [ -d $f ] || continue Loading