16 lines
417 B
Plaintext
16 lines
417 B
Plaintext
$NetBSD: patch-tests_dbmcreate00.at,v 1.1 2014/05/23 20:49:37 wiz Exp $
|
|
|
|
Fix unportable sort syntax.
|
|
|
|
--- tests/dbmcreate00.at.orig 2012-03-21 17:14:03.000000000 +0000
|
|
+++ tests/dbmcreate00.at
|
|
@@ -22,7 +22,7 @@ AT_COMPAT_PREREQ
|
|
AT_SORT_PREREQ
|
|
num2word 1:1000 > input
|
|
dtload test < input
|
|
-dtdump test | sort -k1,2 -n > output
|
|
+dtdump test | sort -n -k1,2 > output
|
|
cmp -s input output || diff -u input output
|
|
])
|
|
|