File: gash-utils-ls-test.patch

package info (click to toggle)
guix 1.4.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 161,500 kB
  • sloc: lisp: 861,023; cpp: 10,741; javascript: 9,632; sh: 8,913; makefile: 951; ansic: 558; python: 129; sql: 33; sed: 16
file content (25 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
'ls.scm' monkey-patches (ice-9 getopt-long) to allow it to recognize '-1'
as a valid option.  Unfortunately, monkey patching no longer works with
Guile 3.0 due to inlining, so change the test to make do without '-1'.

diff --git a/tests/core-utils.org b/tests/core-utils.org
index d35ede8..22718e3 100644
--- a/tests/core-utils.org
+++ b/tests/core-utils.org
@@ -93,14 +93,11 @@
 * ls
 :script:
 #+begin_src sh
-  ls -1 tests/data/star
+  ls tests/data/star
 #+end_src
 :stdout:
 #+begin_example
-  0
-  1
-  2
-  3
+  0  1  2  3                                                                    
 #+end_example
 
 * test-file