X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fsavescreen.sh;h=e49aa1735061091f562c47ec65a32b895cdeb664;hp=481d3ff18e6dfaec68d0bbe5c6e2cadd81ed17c6;hb=02f02dcd4464143580e783ae32c822d8eb8cdcbf;hpb=e70a86c3d48b8cbad0f6d1c33ba5b027a243834e diff --git a/test/savescreen.sh b/test/savescreen.sh index 481d3ff1..e49aa173 100755 --- a/test/savescreen.sh +++ b/test/savescreen.sh @@ -1,6 +1,6 @@ #!/bin/sh ############################################################################## -# Copyright (c) 2007 Free Software Foundation, Inc. # +# Copyright (c) 2007,2009 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -26,7 +26,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: savescreen.sh,v 1.3 2007/07/14 21:50:26 tom Exp $ +# $Id: savescreen.sh,v 1.4 2009/10/10 17:08:45 tom Exp $ # # Use this script to exercise "savescreen". # It starts by generating a series of temporary-filenames, which are passed @@ -49,6 +49,7 @@ then while test -f $BEGINS do ./savescreen -r $PARAMS + test $? != 0 && break done else echo "No screens were saved"