4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# CDDL HEADER START
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# The contents of this file are subject to the terms of the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Common Development and Distribution License (the "License").
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# You may not use this file except in compliance with the License.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# See the License for the specific language governing permissions
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# and limitations under the License.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# When distributing Covered Code, include this CDDL HEADER in each
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# If applicable, add the following below this CDDL HEADER, with the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# CDDL HEADER END
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Run the ksh93 minimum set of tests
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# - "builtins.sh" may fail in some locales like this:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# -- snip --
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# ## Running ksh test: LANG='zh_TW.EUC' script='builtins.sh'
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# builtins.sh[274]: printf "%T" now
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# -- snip --
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# - "options.sh" may currently fail in some locales with:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# -- snip --
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# options.sh[145]: -G ** failed -- expected 'bam.c bar bar.c bar/bam.c bar/foo.c foo foo/bam.c', got 'bam.c bar bar/bam.c bar.c bar/foo.c foo foo/bam.c'
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# options.sh[149]: -G **/*.c failed -- expected 'bam.c bar.c bar/bam.c bar/foo.c foo/bam.c', got 'bam.c bar/bam.c bar.c bar/foo.c foo/bam.c'
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# -- snip --
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# This may be simply a different sort order or a bug in the test suite.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Currently under investigation.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# - "glob.sh" may currently fail in some locales (e.g. en_US.UTF-8) with:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# -- snip --
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# glob.sh[157] glob -- expected '<d> <dd> <de> <Beware>', got '<Beware> <d> <dd> <de>'
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# glob.sh[277] glob -- expected '<abc> <abe> <bdir> <ca> <de> <man> <Beware>', got '<abc> <abe> <bdir> <Beware> <ca> <de> <man>'
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# -- snip --
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# This may be simply a different sort order or a bug in the test suite.
# being integrated into OS/Net and then change the test sequence to
# use ksh93's associative/compound variables (this may require a flag
TESTSRC= $(LIBSHELLBASE)/common/tests
# Boolean (true/false) flag to control whether we should make test
(supported_locales="$$(/usr/bin/locale -a)" ; \
[[ "$${test_item}" == "$(TESTSRC)/builtins.sh" || \
"$${test_item}" == "$(TESTSRC)/glob.sh" || \
"$${test_item}" == "$(TESTSRC)/options.sh" ]] || \
SHELL="$(SRC)/cmd/ksh/$(LIBSHELLMACH)/ksh" \
done | tee /dev/stderr)" ; \