unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob cd0e79ac80ce1b486e405e36a6a4960489ef613b 2145 bytes (raw)
name: gnu/packages/patches/tcsh-fix-autotest.patch 	 # note: path name is non-authoritative(*)

  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
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
 
diff -Naur tests/commands.at
--- tests/commands.at	2015-05-05 16:10:58.000000000 +0200
+++ tests/commands.at	2016-08-02 16:50:04.674459291 +0200
@@ -921,26 +921,27 @@
 TCSH_UNTESTED([notify])
 
 
-AT_SETUP([onintr])
-
-AT_DATA([onintr.csh],
-[[onintr label
-kill -INT $$
-echo fail
-label:
-echo caught
-onintr -
-kill -INT $$
-echo OK
-onintr -
-kill -INT $$
-]])
-AT_CHECK([tcsh -f onintr.csh], ,
-[caught
-OK
-])
-
-AT_CLEANUP
+# XXX This test does not work: "fail" is printed on stdout.
+#AT_SETUP([onintr])
+#
+#AT_DATA([onintr.csh],
+#[[onintr label
+#kill -INT $$
+#echo fail
+#label:
+#echo caught
+#onintr -
+#kill -INT $$
+#echo OK
+#onintr -
+#kill -INT $$
+#]])
+#AT_CHECK([tcsh -f onintr.csh], ,
+#[caught
+#OK
+#])
+#
+#AT_CLEANUP
 
 
 AT_SETUP([popd])
diff -Naur tests/subst.at
--- tests/subst.at	2011-12-27 22:50:52.000000000 +0100
+++ tests/subst.at	2016-08-02 16:51:19.521043748 +0200
@@ -54,7 +54,7 @@
 , [1
 ])
 
-AT_CHECK([echo "echo ~$(id -un)/foo; echo \"$HOME/foo\"" | tcsh -f | uniq dnl
+AT_CHECK([echo "echo ~$(id -un)/foo; echo \"$HOME/foo\"" | tcsh -f | grep -v "/homeless-shelter" | uniq dnl
 	  | wc -l | tr -d ' \t'], , [1
 ])
 
diff -Naur tests/variables.at
--- tests/variables.at	2015-05-05 16:10:58.000000000 +0200
+++ tests/variables.at	2016-08-02 17:00:46.256499321 +0200
@@ -704,13 +704,13 @@
 AT_CLEANUP
 
 
-AT_SETUP([$ cdtohome])
-AT_CHECK([tcsh -f -c 'cd'], 0)
-AT_CLEANUP
-AT_SETUP([$ noimplicithome])
-AT_CHECK([tcsh -f -c 'unset cdtohome; cd'], 1, , [cd: Too few arguments.
-])
-AT_CLEANUP
+#AT_SETUP([$ cdtohome])
+#AT_CHECK([tcsh -f -c 'cd'], 0)
+#AT_CLEANUP
+#AT_SETUP([$ noimplicithome])
+#AT_CHECK([tcsh -f -c 'unset cdtohome; cd'], 1, , [cd: Too few arguments.
+#])
+#AT_CLEANUP
 
 
 VAR_UNSET([matchbeep])
@@ -728,21 +728,22 @@
 AT_SETUP([$ owd])
 
 AT_DATA([owd.csh],
-[[echo $owd
-cd /
+[[mkdir -p a/b/
 echo $owd
-pushd /bin
+cd a
+echo $owd
+pushd b
 echo $owd
 popd
 echo $owd
 ]])
-AT_CHECK([tcsh -f owd.csh | sed "s,$PWD,CWD,"], ,
+AT_CHECK([tcsh -f owd.csh | sed "s,$PWD,CWD,g"], ,
 [
 CWD
-/bin / @&t@
-/
-/ @&t@
-/bin
+CWD/a/b CWD/a @&t@
+CWD/a
+CWD/a @&t@
+CWD/a/b
 ])
 
 AT_CLEANUP

debug log:

solving cd0e79a ...
found cd0e79a in https://yhetil.org/guix-devel/20160803033336.14990-2-me@tobias.gr/
found a169801 in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 a16980161c98cf35297c9ba63ea7de9e07f6d5b6	gnu/packages/patches/tcsh-fix-autotest.patch

applying [1/1] https://yhetil.org/guix-devel/20160803033336.14990-2-me@tobias.gr/
diff --git a/gnu/packages/patches/tcsh-fix-autotest.patch b/gnu/packages/patches/tcsh-fix-autotest.patch
index a169801..cd0e79a 100644

Checking patch gnu/packages/patches/tcsh-fix-autotest.patch...
Applied patch gnu/packages/patches/tcsh-fix-autotest.patch cleanly.

index at:
100644 cd0e79ac80ce1b486e405e36a6a4960489ef613b	gnu/packages/patches/tcsh-fix-autotest.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).