Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: xz/tests/test_files.sh

Issue 2869016: Add an unpatched version of xz, XZ Utils, to /trunk/deps/third_party (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « xz/tests/test_compress.sh ('k') | xz/tests/test_filter_flags.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #/bin/sh
2
3 ###############################################################################
4 #
5 # Author: Lasse Collin
6 #
7 # This file has been put into the public domain.
8 # You can do whatever you want with this file.
9 #
10 ###############################################################################
11
12 for I in "$srcdir"/files/good-*.xz
13 do
14 if ../src/xzdec/xzdec "$I" > /dev/null 2> /dev/null ; then
15 :
16 else
17 echo "Good file failed: $I"
18 (exit 1)
19 exit 1
20 fi
21 done
22
23 for I in "$srcdir"/files/bad-*.xz
24 do
25 if ../src/xzdec/xzdec "$I" > /dev/null 2> /dev/null ; then
26 echo "Bad file succeeded: $I"
27 (exit 1)
28 exit 1
29 fi
30 done
31
32 (exit 0)
33 exit 0
OLDNEW
« no previous file with comments | « xz/tests/test_compress.sh ('k') | xz/tests/test_filter_flags.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698