Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/usr.bin/sort change so that test 35 print warning ab...
details: https://anonhg.NetBSD.org/src/rev/0bd48ce0e8ed
branches: trunk
changeset: 502109:0bd48ce0e8ed
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Jan 11 22:18:38 2001 +0000
description:
change so that test 35 print warning about missing -g just once
s/not present/not supported/
diffstat:
regress/usr.bin/sort/stests | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r 5c3a617fb310 -r 0bd48ce0e8ed regress/usr.bin/sort/stests
--- a/regress/usr.bin/sort/stests Thu Jan 11 22:10:27 2001 +0000
+++ b/regress/usr.bin/sort/stests Thu Jan 11 22:18:38 2001 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
# @(#)stests 8.1 (Berkeley) 6/6/93
-# $NetBSD: stests,v 1.3 2001/01/11 22:10:27 jdolecek Exp $
+# $NetBSD: stests,v 1.4 2001/01/11 22:18:38 jdolecek Exp $
# This code is derived from software contributed to Berkeley by
# Peter McIlroy.
@@ -121,7 +121,7 @@
# print info about skipped test
not_tested() {
- echo "$TEST$X skipped - flag '$1' not present"
+ echo "$TEST$X skipped - flag '$1' not supported"
}
rm -f out
@@ -856,10 +856,14 @@
0.10
!
-$g xsort A -g
-
-$g sort -gu in >xx && $g sort -c -gu xx || echo ${TEST}B failed
-$g linecount C xx 3
+if [ -z "$g" ]; then
+ xsort A -g
+ sort -gu in >xx && $g sort -c -gu xx || echo ${TEST}B failed
+ linecount C xx 3
+else
+ # -g not supported
+ not_tested '-g'
+fi
#---------------------------------------------------------------
TEST=36; echo $TEST # -s
Home |
Main Index |
Thread Index |
Old Index