9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Romano <me+unobe@fallglow.com>
To: 9front@9front.org
Subject: [9front] test/ dir
Date: Fri, 17 May 2024 14:45:12 -0700	[thread overview]
Message-ID: <464C6A7365874B29D4ECD78523493C75@smtp.pobox.com> (raw)

I noticed that there's a /sys/src/cmd/test directory. Is that
still being used? If so, I noticed that zones.rc isn't in
the mkfile and so if it is meant to be I've provided the
patch below.

From: Romano <me+git@fallglow.com>
Date: Fri, 17 May 2024 21:37:48 +0000
Subject: [PATCH] test/zones.rc: add to mkfile and make portable

---
diff 9c5fc1ce37db16f16b1b351852aa493ac002af2f af584581c71be3579d89ac685e3c3b8fdb5a7654
--- a/sys/src/cmd/test/mkfile
+++ b/sys/src/cmd/test/mkfile
@@ -5,5 +5,6 @@
 	patch\
 	ramfs\
 	test\
+	zones\
 
 </sys/src/cmd/mktest
--- a/sys/src/cmd/test/zones.rc
+++ b/sys/src/cmd/test/zones.rc
@@ -6,9 +6,9 @@
 for(f in /adm/timezone/*){
 	if(! ~ $f /adm/timezone/README){
 		cat $f >/env/timezone
-		tm=`{../6.date -f'WW, DD MMM YYYY hh:mm:ss Z'}
-		x=`{../6.date -n}
-		y=`{../6.seconds $"tm}
+		tm=`{../$O.date -f'WW, DD MMM YYYY hh:mm:ss Z'}
+		x=`{../$O.date -n}
+		y=`{../$O.seconds $"tm}
 		if(! ~ $x $y){
 			echo $f $tm $x $y are not equal
 			msg=($msg $f)

             reply	other threads:[~2024-05-17 21:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-17 21:45 Romano [this message]
2024-05-21  4:31 ` Jacob Moody

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=464C6A7365874B29D4ECD78523493C75@smtp.pobox.com \
    --to=me+unobe@fallglow.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).