-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compare MANIFEST to `git ls-tree -r --name-only HEAD >MANIFEST.git`
- Loading branch information
Reini Urban
committed
Feb 19, 2014
1 parent
c186386
commit f5c5c8d
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -699,6 +699,7 @@ t/issue95.t | |
t/issue96.t | ||
t/issue97.t | ||
t/issue98.t | ||
t/manifest.t | ||
t/mock | ||
t/modules.pm | ||
t/modules.t | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# -*- perl -*- | ||
use Test::More; | ||
if ($^O != /^(linux|.*bsd|darwin|solaris|sunos)$/) { | ||
plan skip_all => "requires a unix for git and diff"; | ||
} | ||
plan tests => 2; | ||
|
||
system("git ls-tree -r --name-only HEAD >MANIFEST.git"); | ||
ok(-e "MANIFEST.git", "MANIFEST.git created with git ls-tree"); | ||
is(`diff -bu MANIFEST.git MANIFEST`, "", "MANIFEST.git compared to MANIFEST"); | ||
unlink "MANIFEST.git"; |