#! /bin/sh
# Test suite for version-etc.
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# This program is free software: you can redistribute it and/or modify
EOT
./test-version-etc${EXEEXT} --version |
- sed \
- -e '2s/Copyright (C) [0-9]\{4,4\}/COPYRIGHT/' \
- -e '1s/test-version-etc (.*) .*/test-version-etc (PROJECT) VERSION/' \
- -e 's/\r//g' |
+ sed '1s/test-version-etc (.*) .*/test-version-etc (PROJECT) VERSION/
+ /^Packaged by/d
+ 2,3 s/Copyright (C) [0-9]\{4,4\}/COPYRIGHT/' |
+ tr -d '\015' |
diff -c $TMP - || ERR=1
rm $TMP