]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tests/sys/pjdfstest/tests/conf
MFC r272057,r272083,r272084,r272087,r274016:
[FreeBSD/stable/10.git] / tests / sys / pjdfstest / tests / conf
1 #!/bin/sh
2 #
3 # $FreeBSD$
4
5 : ${PJDFSTEST_TEST_PATH=.}
6 if ! cd ${PJDFSTEST_TEST_PATH}/; then
7         echo 'Please set PJDFSTEST_TEST_PATH to a valid filesystem path'
8         echo 'Bail out!'
9         exit 1
10 fi
11
12 GREP=grep
13 mountpoint=$(df . | tail -1 | awk '{print $6}')
14 fs=$(mount -p | awk '$2 == "'$mountpoint'" { print toupper($3) }')
15 os=FreeBSD