mixed_none_lookup.ksh revision d7e7cb9c207e40874f6a4b61ca8ea1526b5555bd
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# This file and its contents are supplied under the terms of the
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# Common Development and Distribution License ("CDDL"), version 1.0.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# You may only use this file in accordance with the terms of version
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# 1.0 of the CDDL.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# A full copy of the text of the CDDL should have accompanied this
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# source. A copy of the CDDL is also available via the Internet at
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov. $STF_SUITE/tests/functional/casenorm/casenorm.kshlib
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# DESCRIPTION:
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# For the filesystem with casesensitivity=mixed, normalization=none,
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# check that lookup succeeds only if (case=same and norm=same).
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# For each c/n name form:
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# 1. Create file with given c/n name form.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankov# 2. Check that lookup fails for all other c/n name forms.
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankovlog_assert "CM-not-UN FS: lookup succeeds only if using exact name form"
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankovcreate_testfs "-o casesensitivity=mixed -o normalization=none"
d7e7cb9c207e40874f6a4b61ca8ea1526b5555bdYuri Pankovlog_pass "CM-not-UN FS: lookup succeeds only if using exact name form"