9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bugs in test command
@ 2008-05-28 17:49 lawler.jack
  2008-05-29  8:46 ` Charles Forsyth
  0 siblings, 1 reply; 3+ messages in thread
From: lawler.jack @ 2008-05-28 17:49 UTC (permalink / raw)
  To: 9fans

I updated my system today and had trouble with
the usbfat:, 9fat:, and pull scripts because of errors
by the new test command.

	term% ls /dev/kfs.cmd
	ls: /dev/kfs.cmd: '/dev/kfs.cmd' file does not exist
	term% test -f /dev/kfs.cmd
	term% echo $status

	term%


Thank you.



^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: [9fans] bugs in test command
@ 2008-05-28 19:34 erik quanstrom
  0 siblings, 0 replies; 3+ messages in thread
From: erik quanstrom @ 2008-05-28 19:34 UTC (permalink / raw)
  To: 9fans

> I updated my system today and had trouble with
> the usbfat:, 9fat:, and pull scripts because of errors
> by the new test command.
>
> 	term% ls /dev/kfs.cmd
> 	ls: /dev/kfs.cmd: '/dev/kfs.cmd' file does not exist
> 	term% test -f /dev/kfs.cmd
> 	term% echo $status
>
> 	term%
>
>
> Thank you.

	; 9fs sources
	; cp /n/sources/plan9/sys/src/cmd/test.c .
	; 8c test.c
	; 8l -o test test.c
	; ./test -f /dev/kfs.cmd;echo $status
	test 5551: false

not the change in test.

	; bind /n/sources/plan9/386/lib /386/lib
	; 8l -o test test.8
	; ./test -f /dev/kfs.cmd;echo $status
	test 5589: false

not a library change

	; /n/sources/plan9/386/bin/8c test.c
	; /n/sources/plan9/386/bin/8l -o test test.8
	; ./test -f /dev/kfs.cmd;echo $status
	test 5596: false

not the compiler.

	; /n/sources/plan9/386/bin/test -f /dev/kfs.cmd
	; echo $status


but the executable does appear to be broken anyway.

if you recompile test, things should start working again.

- erik



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-29  8:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-28 17:49 [9fans] bugs in test command lawler.jack
2008-05-29  8:46 ` Charles Forsyth
2008-05-28 19:34 erik quanstrom

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 NNTP newsgroup(s).