From 1d0c093b3ce713c5215f4e71d4d032c16ac37608 Mon Sep 17 00:00:00 2001 From: Paweł Hajdan Date: Mon, 12 Apr 2010 17:55:57 +0000 Subject: Run tests correctly, bug #314831 by Dustin Polke (Portage version: 2.1.7.17/cvs/Linux i686) --- app-misc/lockfile-progs/ChangeLog | 6 +++++- app-misc/lockfile-progs/files/Makefile | 34 +++++++++++++++++++--------------- 2 files changed, 24 insertions(+), 16 deletions(-) (limited to 'app-misc/lockfile-progs') diff --git a/app-misc/lockfile-progs/ChangeLog b/app-misc/lockfile-progs/ChangeLog index 3a999d6d45ee..fcd1cc54794e 100644 --- a/app-misc/lockfile-progs/ChangeLog +++ b/app-misc/lockfile-progs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/lockfile-progs # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lockfile-progs/ChangeLog,v 1.6 2010/03/28 19:03:32 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lockfile-progs/ChangeLog,v 1.7 2010/04/12 17:55:57 phajdan.jr Exp $ + + 12 Apr 2010; Pawel Hajdan jr files/Makefile: + Run tests correctly, bug #314831 by Dustin Polke + 28 Mar 2010; Raúl Porcel lockfile-progs-0.1.13.ebuild: diff --git a/app-misc/lockfile-progs/files/Makefile b/app-misc/lockfile-progs/files/Makefile index 77b41608c275..27276b30f5da 100644 --- a/app-misc/lockfile-progs/files/Makefile +++ b/app-misc/lockfile-progs/files/Makefile @@ -28,24 +28,28 @@ install: all ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-touchlock.1 test: all - lockfile-create testfile - lockfile-check testfile - lockfile-touch --oneshot testfile - lockfile-check testfile - lockfile-remove testfile + ln -s lockfile-create ./lockfile-remove + ln -s lockfile-create ./lockfile-touch + ln -s lockfile-create ./lockfile-check + + ./lockfile-create testfile + ./lockfile-check testfile + ./lockfile-touch --oneshot testfile + ./lockfile-check testfile + ./lockfile-remove testfile ! test -e testfile - ! lockfile-check testfile + ! ./lockfile-check testfile - lockfile-create --lock-name test.lock - lockfile-check --lock-name test.lock - ! lockfile-check test.lock + ./lockfile-create --lock-name test.lock + ./lockfile-check --lock-name test.lock + ! ./lockfile-check test.lock ! test -e test.lock.lock - lockfile-touch --oneshot --lock-name test.lock - lockfile-check --lock-name test.lock - ! lockfile-check test.lock - lockfile-remove --lock-name test.lock + ./lockfile-touch --oneshot --lock-name test.lock + ./lockfile-check --lock-name test.lock + ! ./lockfile-check test.lock + ./lockfile-remove --lock-name test.lock ! test -e test.lock - ! lockfile-check --lock-name test.lock - ! lockfile-check test.lock + ! ./lockfile-check --lock-name test.lock + ! ./lockfile-check test.lock .PHONY: install test -- cgit v1.2.3-65-gdbad