X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fsymlink.sh;h=86b8d5b7c05c37f56c94da2c9a372144c4c67a8d;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=f4b4338d8265ddf5cc1d0a79390facc560551577;hpb=8a5096d150cf9803b8963768b7366cd68edcce03;p=platform%2Fupstream%2Fautomake.git diff --git a/t/symlink.sh b/t/symlink.sh old mode 100755 new mode 100644 index f4b4338..86b8d5b --- a/t/symlink.sh +++ b/t/symlink.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996-2012 Free Software Foundation, Inc. +# Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ # Reported by Joerg-Martin Schwarz. am_create_testdir=empty -. ./defs || Exit 1 +. test-init.sh : > Makefile.am @@ -35,6 +35,6 @@ AUTOMAKE_fails --add-missing grep '^configure\.ac:3: .*missing.*error while making link' stderr grep '^configure\.ac:3: .*install-sh.*error while making link' stderr -test `$FGREP -c 'error while making link' stderr` -eq 2 +test $(grep -c 'error while making link' stderr) -eq 2 :