nooc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/nooc
Log | Files | Refs | LICENSE

commit 60c19a42c5847a3de673891f23c005db7957500a
parent 0ced109b8550fc7cb832994966a712dcfd76dd16
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Sun,  5 Dec 2021 12:37:37 -0600

add yes test

Diffstat:
Atest.sh | 9+++++++++
Atest/yes.nooc | 6++++++
2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/test.sh b/test.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +for file in test/* +do + ./nooc $file out || { + printf "test %s failed\n" "$file" + exit 1 + } +done diff --git a/test/yes.nooc b/test/yes.nooc @@ -0,0 +1,5 @@ +write i64 = 1 +stdout i64 = 0 +loop { + syscall(write, stdout, "y\n", 2) +}+ \ No newline at end of file