Skip to content
Snippets Groups Projects
Verified Commit 8021ade2 authored by jD91mZM2's avatar jD91mZM2
Browse files

Move stat test out of expected tests

parent dc427272
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,6 @@ EXPECT_BINS=\ ...@@ -55,7 +55,6 @@ EXPECT_BINS=\
unistd/pipe \ unistd/pipe \
unistd/rmdir \ unistd/rmdir \
unistd/sleep \ unistd/sleep \
unistd/stat \
unistd/write \ unistd/write \
waitpid \ waitpid \
wchar/mbrtowc \ wchar/mbrtowc \
...@@ -73,7 +72,8 @@ BINS=\ ...@@ -73,7 +72,8 @@ BINS=\
unistd/gethostname \ unistd/gethostname \
unistd/getid \ unistd/getid \
unistd/link \ unistd/link \
unistd/setid unistd/setid \
unistd/stat
all: $(BINS) all: $(BINS)
......
...@@ -13,7 +13,12 @@ int main() { ...@@ -13,7 +13,12 @@ int main() {
return 1; return 1;
} }
printf("st_mode: %u\n", buf.st_mode);
printf("st_size: %lu\n", buf.st_size); printf("st_size: %lu\n", buf.st_size);
printf("st_blksize: %lu\n", buf.st_blksize); printf("st_blksize: %lu\n", buf.st_blksize);
printf("st_dev: %lu\n", buf.st_dev);
printf("st_ino: %lu\n", buf.st_ino);
printf("st_mode: %o\n", buf.st_mode);
printf("st_nlink: %lu\n", buf.st_nlink);
printf("st_uid: %u\n", buf.st_uid);
printf("st_gid: %u\n", buf.st_gid);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment