Debian Codegraph @

tests/kern/t41

raw
1 #!/bin/bash
2
3 # Watch for "WARNING: at fs/inode.c:280 drop_nlink+0x43/0x50()"
4 # See post to v9fs-developer Oct 24, 2012 by Mario Titas
5
6 K1=$(dmesg | wc -l)
7
8 cd $PATH_MNTDIR || exit 1
9 echo creating dirs
10 mkdir -p {1,2,3,4}/{1,2,3,4}/{1,2,3,4}/{1,2,3,4}
11 echo removing dirs
12 rm -rf {1,2,3,4}
13
14 K2=$(dmesg | wc -l)
15
16 echo console output
17 dmesg | tail --lines=$(($K1 - $K2))
18
19 exit 0