diff -ru src/part.c b/part.c --- src/part.c Thu May 14 06:01:00 2009 -0400 +++ b/part.c Thu May 14 06:01:00 2009 -0400 @@ -1767,8 +1767,8 @@ /* to compute number of partitions */ { INT erg = OK; - if (ni<0) return; - if (not EMPTYP(S_V_I(vec,ni))) return; + if (ni<0) return 0; + if (not EMPTYP(S_V_I(vec,ni))) return 0; else if (ni<=1) M_I_I(1,S_V_I(vec,ni)); else { ' rowspan='2'>cgit logo index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-pack-relocatable.sh
AgeCommit message (Collapse)Author
2023-02-27pack: Adjust shell tests to read-only tarball root.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/61853>. Fixes a regression introduced in 68380db4c40a2ee1156349a87254fd7b1f1a52d5, whereby the tarball's root entry is now read-only, due to the creation of "profile-directory" in the store. * tests/guix-pack.sh: Remove and recreate $test_directory before transformation option test. * tests/guix-pack-relocatable.sh: Add "chmod +w $test_directory" lines before attempts to write to it.