List for cgit developers and users
 help / color / mirror / Atom feed
From: Bo YU <tsu.yubo@gmail.com>
To: "Samuel Lid�n Borell" <samuel@kodafritt.se>
Cc: cgit@lists.zx2c4.com
Subject: Re: cgit build on riscv64 machine
Date: Tue, 19 Jul 2022 16:46:24 +0800	[thread overview]
Message-ID: <20220719084624.7pma42qbqc7pqord@debian> (raw)
In-Reply-To: <20220719101555.541fe80469a251350d237211@kodafritt.se>

[-- Attachment #1: Type: text/plain, Size: 3548 bytes --]

HriI,
On Tue, Jul 19, 2022 at 10:15:55AM +0200, Samuel Lid�n Borell wrote:

>The strace output looks good to me. But did you check the strace.out file, that the test creates?
>The test will fail if it contains this string:
>/path/to/some/place/that/does/not/possibly/exist
>
>Maybe something is causing that string to be printed.
>
```
strace -o t0109.out ./t0109-gitconfig.sh

I just grep the log I think that it is usefully:

write(1, "\33[1m\33[31mnot ok 7 - do not acces"..., 58) = 58
pipe2([8, 9], 0)                        = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x3faefb7c70) = 388102
close(9)                                = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x3faefb7c70) = 388103
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=388102, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 388103
close(8)                                = 0
close(-1)                               = -1 EBADF (Bad file descriptor)
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 388102
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 388103
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=388103, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 388103
wait4(-1, 0x3ffabbc3ec, WNOHANG, NULL)  = -1 ECHILD (No child processes)
fcntl(1, F_DUPFD, 10)                   = 11
close(1)                                = 0
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
dup3(3, 1, 0)                           = 1
write(1, "\n", 1)                       = 1
dup3(11, 1, 0)                          = 1
close(11)                               = 0
fcntl(1, F_DUPFD, 10)                   = 11
close(1)                                = 0
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
dup3(3, 1, 0)                           = 1
write(1, "\33[36mexpecting success of 0109.8"..., 108) = 108
dup3(11, 1, 0)                          = 1
close(11)                               = 0
pipe2([8, 9], 0)                        = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x3faefb7c70) = 388104
close(9)                                = 0
read(8, "OK-117\n", 128)                = 7
read(8, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=388104, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(8)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 388104
wait4(-1, 0x3ffabbbdac, WNOHANG, NULL)  = -1 ECHILD (No child processes)
pipe2([8, 9], 0)                        = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x3faefb7c70) = 388106
close(9)                                = 0
read(8, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=388106, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(8)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 388106
wait4(-1, 0x3ffabbbd4c, WNOHANG, NULL)  = -1 ECHILD (No child processes)

The full log is attachment. It seem that the $non_existent_path does not
add (date %N) string.

Bo
>Best Regards,
>Samuel

-- 
Best Regards

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-07-19  8:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19  2:44 Bo YU
2022-07-19  7:38 ` Samuel Lidén Borell
2022-07-19  8:02   ` Bo YU
2022-07-19  8:15     ` Samuel Lidén Borell
2022-07-19  8:46       ` Bo YU [this message]
2022-09-09  2:29       ` Bo YU

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=20220719084624.7pma42qbqc7pqord@debian \
    --to=tsu.yubo@gmail.com \
    --cc=cgit@lists.zx2c4.com \
    --cc=samuel@kodafritt.se \
    /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).