Skip to content

Commit

Permalink
Add a test for stats file
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfb committed Mar 13, 2024
1 parent d72b829 commit 8f316fb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bakedinfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ wait 1 3\n\
fib 1\n\
wait 1 1\n\
fib 1\n\
cat /proc/1/stats\n\
sysinfo\n";

bifs_file_t *lt = &bifs_all_files[5];
Expand Down
3 changes: 3 additions & 0 deletions testdata/want-daemon-test-output-tiny-stack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ S 1 1 fibd
R 2 1 ps
7, 13
9, 34
ppid: -1
nscheds: 7
npages: 7
Total RAM: 48
Free RAM: 17
Num procs: 3
Expand Down
3 changes: 3 additions & 0 deletions testdata/want-daemon-test-output-u64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ S 1 1 fibd
R 2 1 ps
7, 13
9, 34
ppid: -1
nscheds: 7
npages: 7
Total RAM: 48
Free RAM: 17
Num procs: 3
Expand Down
3 changes: 3 additions & 0 deletions testdata/want-daemon-test-output-virt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ S 1 1 fibd
R 2 1 ps
7, 13
9, 34
ppid: -1
nscheds: 7
npages: 7
Total RAM: 48
Free RAM: 17
Num procs: 3
Expand Down

0 comments on commit 8f316fb

Please sign in to comment.