#!/bin/bash
## kola:
##   exclusive: false
##   description: Verify that we have tmpfs on /tmp.

set -xeuo pipefail

# shellcheck disable=SC1091
. "$KOLA_EXT_DATA/commonlib.sh"

tmpfs=$(findmnt -n -o FSTYPE /tmp)
if [ "${tmpfs}" != "tmpfs" ]; then
    fatal "Error: Expected tmpfs on /tmp, found: ${tmpfs}"
fi
ok "tmpfs on /tmp"
