File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2+ #
3+ # Copyright 2015 The Rust Project Developers. See the COPYRIGHT
4+ # file at the top-level directory of this distribution and at
5+ # http://rust-lang.org/COPYRIGHT.
6+ #
7+ # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
8+ # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
9+ # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
10+ # option. This file may not be copied, modified, or distributed
11+ # except according to those terms.
212
313# A script to update the references for all tests. The idea is that
414# you do a run, which will generate files in the build directory
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ #
3+ # Copyright 2015 The Rust Project Developers. See the COPYRIGHT
4+ # file at the top-level directory of this distribution and at
5+ # http://rust-lang.org/COPYRIGHT.
6+ #
7+ # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
8+ # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
9+ # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
10+ # option. This file may not be copied, modified, or distributed
11+ # except according to those terms.
212
313# A script to update the references for particular tests. The idea is
414# that you do a run, which will generate files in the build directory
@@ -30,7 +40,6 @@ while [[ "$1" != "" ]]; do
3040 echo updating $MYDIR /$STDOUT_NAME
3141 cp $BUILD_DIR /$STDOUT_NAME $MYDIR /$STDOUT_NAME
3242 fi
33-
3443 if [ -f $BUILD_DIR /$STDERR_NAME ] && \
3544 ! (diff $BUILD_DIR /$STDERR_NAME $MYDIR /$STDERR_NAME > /dev/null); then
3645 echo updating $MYDIR /$STDERR_NAME
Original file line number Diff line number Diff line change @@ -2159,7 +2159,8 @@ actual:\n\
21592159 match File :: open ( path) . and_then ( |mut f| f. read_to_string ( & mut result) ) {
21602160 Ok ( _) => result,
21612161 Err ( e) => {
2162- self . fatal ( & format ! ( "failed to load expected output from `{}`: {}" , path. display( ) , e) )
2162+ self . fatal ( & format ! ( "failed to load expected output from `{}`: {}" ,
2163+ path. display( ) , e) )
21632164 }
21642165 }
21652166 }
You can’t perform that action at this time.
0 commit comments