Changeset View
Changeset View
Standalone View
Standalone View
dev/audio/t_pad.sh
Property | Old Value | New Value |
---|---|---|
File Mode | 100755 | 100644 |
# $NetBSD: t_pad.sh,v 1.3 2010/11/07 17:51:17 jmmv Exp $ | # $NetBSD: t_pad.sh,v 1.4 2019/06/20 12:14:46 isaki Exp $ | ||||
# | # | ||||
# Copyright (c) 2010 The NetBSD Foundation, Inc. | # Copyright (c) 2010 The NetBSD Foundation, Inc. | ||||
# All rights reserved. | # All rights reserved. | ||||
# | # | ||||
# Redistribution and use in source and binary forms, with or without | # Redistribution and use in source and binary forms, with or without | ||||
# modification, are permitted provided that the following conditions | # modification, are permitted provided that the following conditions | ||||
# are met: | # are met: | ||||
# 1. Redistributions of source code must retain the above copyright | # 1. Redistributions of source code must retain the above copyright | ||||
Show All 14 Lines | |||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||||
# POSSIBILITY OF SUCH DAMAGE. | # POSSIBILITY OF SUCH DAMAGE. | ||||
# | # | ||||
atf_test_case pad_output | atf_test_case pad_output | ||||
pad_output_head() | pad_output_head() | ||||
{ | { | ||||
atf_set "descr" "Check pad driver output against known-good output" | atf_set "descr" "Check pad driver output" | ||||
} | } | ||||
pad_output_body() | pad_output_body() | ||||
{ | { | ||||
atf_check -s exit:0 uudecode $(atf_get_srcdir)/t_pad_output.bz2.uue | # h_pad(librumpdev_pad) may outputs an error message (on slow | ||||
atf_check -s exit:0 bunzip2 t_pad_output.bz2 | # machines?). But we can ignore it. The audio driver was made | ||||
atf_check -s exit:0 -o file:t_pad_output $(atf_get_srcdir)/h_pad | # for the real kernel and real hardware and realtime processing. | ||||
# librump + pad is at the opposite. | |||||
atf_check -o ignore $(atf_get_srcdir)/h_pad | |||||
} | } | ||||
atf_init_test_cases() | atf_init_test_cases() | ||||
{ | { | ||||
atf_add_test_case pad_output | atf_add_test_case pad_output | ||||
} | } |