Merge branch 'master' into 2.3.0

Conflicts:
	AUTHORS
	CMakeLists.txt
	INSTALL
	NEWS
	cmake.h.in
	doc/man/task-faq.5.in
	package-config/osx/README
	scripts/utils/verify_l10n
	src/API.h
	src/Config.cpp
	src/Context.cpp
	src/DOM.cpp
	src/Hooks.cpp
	src/TransportShell.h
	src/commands/CmdDiagnostics.cpp
	src/commands/CmdShell.cpp
	src/commands/CmdVersion.cpp
	src/en-US.h
	src/shell/Readline.h
	src/wcwidth6.cpp
	test/CMakeLists.txt
	test/color.uda.t
	test/duration.t.cpp
	test/hook.on-launch.t
	test/template.t
	test/uuid.t
This commit is contained in:
Paul Beckingham
2013-04-07 17:51:24 -04:00
548 changed files with 13752 additions and 2435 deletions

View File

@@ -2,7 +2,7 @@
################################################################################
## taskwarrior - a command line task list manager.
##
## Copyright 2006-2012, Paul Beckingham, Federico Hernandez.
## Copyright 2006-2013, Paul Beckingham, Federico Hernandez.
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
@@ -28,7 +28,7 @@
use strict;
use warnings;
use Test::More tests => 22;
use Test::More tests => 26;
# Create the rc file.
if (open my $fh, '>', 'op.rc')
@@ -76,6 +76,12 @@ unlike ($output, qr/two/, 'ls description < t --> !two');
unlike ($output, qr/three/, 'ls description < t --> !three');
like ($output, qr/four/, 'ls description < t --> four');
$output = qx{../src/task rc:op.rc 'urgency < 10.0' ls 2>&1};
unlike ($output, qr/one/, 'ls description < 10 --> !one');
unlike ($output, qr/two/, 'ls description < 10 --> !two');
like ($output, qr/three/, 'ls description < 10 --> three');
like ($output, qr/four/, 'ls description < 10 --> four');
# Cleanup.
unlink qw(pending.data completed.data undo.data backlog.data op.rc);
ok (! -r 'pending.data' &&