summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-09-24 10:36:24 +0200
committerLudovic Courtès <ludo@gnu.org>2015-09-24 10:36:24 +0200
commitd6445dff1484cbd7b9c05906a8210fe99898daa2 (patch)
tree06110fb0f6289940e23ae5cd5bb711ac83c101ff /tests
parenta05c06720a32220ab4b688fd2496746099a6da39 (diff)
downloadguix-d6445dff1484cbd7b9c05906a8210fe99898daa2.tar.gz
tests: Adjust snippet test to '.file_list' hack.
This is a followup to commit 140b4bc.

* tests/packages.scm ("package-source-derivation, snippet")[source]: Add
  'chmod' call for "..".
Diffstat (limited to 'tests')
-rw-r--r--tests/packages.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/packages.scm b/tests/packages.scm
index ace2f36f19..b28ae0b662 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -321,7 +321,10 @@
                                 (chmod "." #o777)
                                 (symlink "guile" "guile-rocks")
                                 (copy-recursively "../share/guile/2.0/scripts"
-                                                  "scripts"))))))
+                                                  "scripts")
+
+                                ;; Make sure '.file_list' can be created.
+                                (chmod ".." #o777))))))
          (package (package (inherit (dummy-package "with-snippet"))
                     (source source)
                     (build-system trivial-build-system)