Expected output

This commit is contained in:
Jeremy Soller
2018-03-08 21:14:46 -07:00
parent 4da873ae79
commit 85766a41ff
45 changed files with 40 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@
/dup.out
/error
/fchdir
/fcntl
/fsync
/ftruncate
/ftruncate.out
+7
View File
@@ -26,9 +26,16 @@ all: $(BINS)
clean:
rm -f $(BINS) *.out
expected: $(BINS)
mkdir -p expected
for bin in $(BINS); do "./$${bin}" test args > "expected/$${bin}.stdout" 2> "expected/$${bin}.stderr"; done
run: $(BINS)
for bin in $(BINS); do echo "# $${bin} #"; "./$${bin}" test args; done
test: $(BINS)
for bin in $(BINS); do echo "# $${bin} #"; "./$${bin}" test args; done
GCCHEAD=\
-nostdinc \
-nostdlib \
View File
+2
View File
@@ -0,0 +1,2 @@
malloc 0x55ac6c472618
calloc 0x55ac6c472618
View File
+1
View File
@@ -0,0 +1 @@
./args test args
View File
+1
View File
@@ -0,0 +1 @@
-3.14
View File
+6
View File
@@ -0,0 +1,6 @@
-42
555
1234567890
-42
555
1234567890
View File
+1
View File
@@ -0,0 +1 @@
brk exited with status code 0
View File
+2
View File
@@ -0,0 +1,2 @@
initial cwd: /home/jeremy/Projects/relibc/tests
final cwd: /home/jeremy/Projects/relibc
View File
View File
View File
+1
View File
@@ -0,0 +1 @@
Success: 0
View File
+1
View File
@@ -0,0 +1 @@
fd 4 duped into fd 5
+1
View File
@@ -0,0 +1 @@
perror: No such file or directory
+1
View File
@@ -0,0 +1 @@
errno: 2 = No such file or directory
View File
+1
View File
@@ -0,0 +1 @@
fchdir exited with status code 0
View File
+1
View File
@@ -0,0 +1 @@
fd 4 duped into fd 5
View File
+1
View File
@@ -0,0 +1 @@
fsync exited with status code 0
View File
+1
View File
@@ -0,0 +1 @@
ftruncate exited with status code 0
View File
+1
View File
@@ -0,0 +1 @@
egid: 1000, euid: 1000, gid: 1000, pgid: 23916, pid: 23933, ppid 23918, uid 1000
View File
View File
View File
View File
View File
View File
View File
+8
View File
@@ -0,0 +1,8 @@
percent: %
string: String
char: c
int: -16
uint: 32
hex: beef
HEX: C0FFEE
string: end
View File
+1
View File
@@ -0,0 +1 @@
rmdir exited with status code 0
View File
+1
View File
@@ -0,0 +1 @@
Hello World!
BIN
View File
Binary file not shown.