tests/kern/t27
raw| 1 | #!/bin/bash -e |
| 2 | |
| 3 | echo remove file in expdir |
| 4 | rm -f $PATH_EXPDIR/a |
| 5 | |
| 6 | if stat $PATH_MNTDIR/a >/dev/null 2>&1; then |
| 7 | echo stat file in mntdir: exists |
| 8 | exit 1 |
| 9 | else |
| 10 | echo stat file in mntdir: does not exist |
| 11 | fi |
| 12 | |
| 13 | echo touch file in expdir |
| 14 | touch $PATH_EXPDIR/a |
| 15 | |
| 16 | if stat $PATH_MNTDIR/a >/dev/null 2>&1; then |
| 17 | echo stat file in mntdir: exists |
| 18 | else |
| 19 | echo stat file in mntdir: does not exist |
| 20 | exit 1 |
| 21 | fi |