Module Name: src
Committed By: christos
Date: Sat Mar 10 19:19:24 UTC 2012
Modified Files:
src/tests/usr.bin/awk: t_awk.sh
Log Message:
fix typos.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/awk/t_awk.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/usr.bin/awk/t_awk.sh
diff -u src/tests/usr.bin/awk/t_awk.sh:1.1 src/tests/usr.bin/awk/t_awk.sh:1.2
--- src/tests/usr.bin/awk/t_awk.sh:1.1 Sat Mar 10 14:08:56 2012
+++ src/tests/usr.bin/awk/t_awk.sh Sat Mar 10 14:19:24 2012
@@ -1,4 +1,4 @@
-# $NetBSD: t_awk.sh,v 1.1 2012/03/10 19:08:56 christos Exp $
+# $NetBSD: t_awk.sh,v 1.2 2012/03/10 19:19:24 christos Exp $
#
# Copyright (c) 2012 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -184,7 +184,7 @@ regex_caret_2_rs_head() {
regex_caret_2_rs_body() {
atf_check \
- -o "inline:\n1a2an\n" \
+ -o "inline:\naa1a2a\n\n" \
-x "echo aaa1a2a | $awk 1 RS='^a'"
}
@@ -210,7 +210,7 @@ regex_dollar_2_rs_head() {
regex_dollar_2_rs_body() {
atf_check \
- -o "inline:a1a2aaa\n" \
+ -o "inline:a1a2aaa\n\n" \
-x "echo a1a2aaa | $awk 1 RS='a$'"
}
@@ -237,7 +237,7 @@ empty_rs_head() {
empty_rs_body() {
atf_check \
-o "inline:foo\n" \
- -x "echo foo | $awk RS=''"
+ -x "echo foo | $awk 1 RS=''"
}
@@ -250,7 +250,7 @@ newline_rs_head() {
newline_rs_body() {
atf_check \
-o "inline:r1f1:r1f2\nr2f1:r2f2\n" \
- -x "printf '\n\n\nr1f1\nr1f2\n\nr2f1\nr2f2\n\n\n' | $awk '{$1=$1}1' RS= OFS=:"
+ -x "printf '\n\n\nr1f1\nr1f2\n\nr2f1\nr2f2\n\n\n' | $awk '{\$1=\$1}1' RS= OFS=:"
}
atf_init_test_cases() {