Module Name:    src
Committed By:   pooka
Date:           Wed Aug  4 13:49:48 UTC 2010

Modified Files:
        src/tests/dev/audio: t_pad.sh

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/dev/audio/t_pad.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/dev/audio/t_pad.sh
diff -u src/tests/dev/audio/t_pad.sh:1.1 src/tests/dev/audio/t_pad.sh:1.2
--- src/tests/dev/audio/t_pad.sh:1.1	Wed Aug  4 13:15:15 2010
+++ src/tests/dev/audio/t_pad.sh	Wed Aug  4 13:49:48 2010
@@ -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()

Reply via email to