[Tcsh] tcsh and Alpine Linux: progress, anyone?

Luke Mewburn luke at mewburn.net
Mon Nov 28 09:30:04 UTC 2022


On 22-11-26 19:53, Vlad Meșco wrote:
  | Le 26 novembre 2022 15:52:08 GMT+02:00, "Nelson H. F. Beebe" <beebe at math.utah.edu> a écrit :
  | >I ran "make clean; make; make check", and all but one of the tests
  | >pass!  Here is the single failure:
  | >
  | >	 30: @                                               FAILED (commands.at:18)
  | >
  | >The section of testsuite.log that records the failing test looks like
  | >this:
  | >
  | >	30. commands.at:14: testing @ ...
  | >	./commands.at:17: tcsh -f -c 'set' > out1 && tcsh -f -c '@' > out2
  | >	./commands.at:18: diff out1 out2 | tail -n +2
  | >	--- -
  | >	+++ /local/build/cc/tcsh-6.24.02/testsuite.dir/at-groups/30/stdout
  | >	@@ -1,4 +1,11 @@
  | >	-< command	set
  | >	----
  | >	-> command	@
  | >	++++ out2
  | >	+@@ -2,7 +2,7 @@
  | >	+ anyerror	
  | >	+ argv	()
  | >	+ cdtohome	
  | >	+-command	set
  | >	++command	@
  | >	+ csubstnonl	
  | >	+ cwd	/local/build/cc/tcsh-6.24.02/testsuite.dir/030
  | >	+ dirstack	/local/build/cc/tcsh-6.24.02/testsuite.dir/030
  | >
  | >	30. commands.at:14: 30. @ (commands.at:14): FAILED (commands.at:18)
  | >
  | >Without further study of that test, I cannot quickly identify the
  | >cause of the failure, but perhaps other list members can.
  | 
  | It looks like the only reason the test failed is because the
  | autotests want old style diffs, but your system has diff configured
  | to use unified diff? (diff -u). I don't remember this being the OOB
  | behaviour on alpine, but I haven't upgraded in a while.
  | 
  | I'd wager your build is fine.

I've submitted a pull request that may fix this test failure:
	https://github.com/tcsh-org/tcsh/pull/60


cheers,
Luke.


More information about the Tcsh mailing list