Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/dev/audio Update test program to deal with uuencoded g...



details:   https://anonhg.NetBSD.org/src/rev/ce290be8b204
branches:  trunk
changeset: 756821:ce290be8b204
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Aug 04 13:49:48 2010 +0000

description:
Update test program to deal with uuencoded golden data.
XXX: is it not possible to use a pipeline in atf_check?

diffstat:

 tests/dev/audio/t_pad.sh |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r b246779471b3 -r ce290be8b204 tests/dev/audio/t_pad.sh
--- a/tests/dev/audio/t_pad.sh  Wed Aug 04 13:41:03 2010 +0000
+++ b/tests/dev/audio/t_pad.sh  Wed Aug 04 13:49:48 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_pad.sh,v 1.1 2010/08/04 13:15:15 pooka Exp $
+#      $NetBSD: t_pad.sh,v 1.2 2010/08/04 13:49:48 pooka Exp $
 #
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -36,9 +36,9 @@
 pad_output_body()
 {
 
-       atf_check -s exit:0 -o save:expout      \
-           bunzip2 -c $(atf_get_srcdir)/t_pad_output.bz2
-       atf_check -s exit:0 -o file:expout $(atf_get_srcdir)/h_pad
+       atf_check -s exit:0 uudecode $(atf_get_srcdir)/t_pad_output.bz2.uue
+       atf_check -s exit:0 bunzip2 t_pad_output.bz2
+       atf_check -s exit:0 -o file:t_pad_output $(atf_get_srcdir)/h_pad
 }
 
 atf_init_test_cases()



Home | Main Index | Thread Index | Old Index