Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision bfe07df40c13ea2564bb4577620180e3f4849e23 authored by Matt Caswell on 03 December 2015, 14:44:31 UTC, committed by Matt Caswell on 03 December 2015, 14:44:31 UTC
Prepare for 1.0.2e release
Reviewed-by: Richard Levitte <levitte@openssl.org>
1 parent 33223e7
  • Files
  • Changes
  • 2e8faee
  • /
  • test
  • /
  • bntest.com
Raw File
Cook and download a directory from the Software Heritage Vault

You have requested the cooking of the directory with identifier None into a standard tar.gz archive.

Are you sure you want to continue ?

Download a directory from the Software Heritage Vault

You have requested the download of the directory with identifier None as a standard tar.gz archive.

Are you sure you want to continue ?

Cook and download a revision from the Software Heritage Vault

You have requested the cooking of the history heading to revision with identifier swh:1:rev:bfe07df40c13ea2564bb4577620180e3f4849e23 into a bare git archive.

Are you sure you want to continue ?

Download a revision from the Software Heritage Vault

You have requested the download of the history heading to revision with identifier swh:1:rev:bfe07df40c13ea2564bb4577620180e3f4849e23 as a bare git archive.

Are you sure you want to continue ?

Invalid Email !

The provided email is not well-formed.

Download link has expired

The requested archive is no longer available for download from the Software Heritage Vault.

Do you want to cook it again ?

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • content
revision badge
swh:1:rev:bfe07df40c13ea2564bb4577620180e3f4849e23
content badge Iframe embedding
swh:1:cnt:6545d2e5a582b0615db02573806ab7f52ecc922e
bntest.com
$!
$! Analyze bntest output file.
$!
$! Exit status = 1 (success) if all tests passed,
$!               0 (warning) if any test failed.
$!
$! 2011-02-20 SMS.  Added code to skip "#" comments in the input file.
$!
$! 2010-04-05 SMS.  New.  Based (loosely) on perl code in bntest-vms.sh.
$!
$!                  Expect data like:
$!                        test test_name1
$!                        0
$!                        [...]
$!                        test test_name2
$!                        0
$!                        [...]
$!                        [...]
$!
$!                  Some tests have no following "0" lines.
$!
$ result_file_name = f$edit( p1, "TRIM")
$ if (result_file_name .eqs. "")
$ then
$     result_file_name = "bntest-vms.out"
$ endif
$!
$ fail = 0
$ passed = 0
$ tests = 0
$!
$ on control_c then goto tidy
$ on error then goto tidy
$!
$ open /read result_file 'result_file_name'
$!
$ read_loop:
$     read /end = read_loop_end /error = tidy result_file line
$     t1 = f$element( 0, " ", line)
$!
$!    Skip "#" comment lines.
$     if (f$extract( 0, 1, f$edit( line, "TRIM")) .eqs. "#") then -
       goto read_loop
$!
$     if (t1 .eqs. "test")
$     then
$         passed = passed+ 1
$         tests = tests+ 1
$         fail = 1
$         t2 = f$extract( 5, 1000, line)
$         write sys$output "verify ''t2'"
$     else
$         if (t1 .nes. "0")
$         then
$             write sys$output "Failed! bc: ''line'"
$             passed = passed- fail
$             fail = 0
$         endif
$     endif
$ goto read_loop
$ read_loop_end:
$ write sys$output "''passed'/''tests' tests passed"
$!
$ tidy:
$ if f$trnlnm( "result_file", "LNM$PROCESS_TABLE", , "SUPERVISOR", , "CONFINE")
$ then
$     close result_file
$ endif
$!
$ if ((tests .gt. 0) .and. (tests .eq. passed))
$ then
$    exit 1
$ else
$    exit 0
$ endif
$!
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top