-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c884b09
commit 96576a5
Showing
23 changed files
with
54 additions
and
48 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
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,21 @@ | ||
# Build from source on FreeBSD. | ||
name: build_freebsd | ||
on: [push] | ||
permissions: read-all | ||
jobs: | ||
build_freebsd: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Building from source | ||
id: build_freebsd | ||
uses: vmactions/freebsd-vm@v1 | ||
with: | ||
usesh: true | ||
mem: 4096 | ||
# Note that the test scripts require bash | ||
prepare: | | ||
pkg install -y autoconf automake bash byacc flex fusefs-libs gettext git libtool openssl pkgconf | ||
run: | | ||
tests/build.sh | ||
tests/runtests.sh |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* Signal handling functions | ||
* | ||
* Copyright (C) 2006-2021, Joachim Metz <[email protected]> | ||
* Copyright (C) 2006-2023, Joachim Metz <[email protected]> | ||
* | ||
* Refer to AUTHORS for acknowledgements. | ||
* | ||
|
@@ -40,7 +40,7 @@ void (*ewftools_signal_signal_handler)( ewftools_signal_t ) = NULL; | |
/* Signal handler for Ctrl+C or Ctrl+Break signals | ||
*/ | ||
BOOL WINAPI ewftools_signal_handler( | ||
unsigned long signal ) | ||
ewftools_signal_t signal ) | ||
{ | ||
static char *function = "ewftools_signal_handler"; | ||
|
||
|
@@ -112,7 +112,7 @@ int ewftools_signal_attach( | |
ewftools_signal_signal_handler = signal_handler; | ||
|
||
if( SetConsoleCtrlHandler( | ||
ewftools_signal_handler, | ||
(PHANDLER_ROUTINE) ewftools_signal_handler, | ||
TRUE ) == 0 ) | ||
{ | ||
libcerror_error_set( | ||
|
@@ -179,7 +179,7 @@ int ewftools_signal_detach( | |
static char *function = "ewftools_signal_detach"; | ||
|
||
if( SetConsoleCtrlHandler( | ||
ewftools_signal_handler, | ||
(PHANDLER_ROUTINE) ewftools_signal_handler, | ||
FALSE ) == 0 ) | ||
{ | ||
libcerror_error_set( | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# | ||
# Python-bindings support functions test script | ||
# | ||
# Copyright (C) 2006-2021, Joachim Metz <[email protected]> | ||
# Copyright (C) 2006-2023, Joachim Metz <[email protected]> | ||
# | ||
# Refer to AUTHORS for acknowledgements. | ||
# | ||
|
@@ -37,7 +37,7 @@ def test_get_version(self): | |
|
||
def test_check_file_signature(self): | ||
"""Tests the check_file_signature function.""" | ||
test_source = unittest.source | ||
test_source = getattr(unittest, "source", None) | ||
if not test_source: | ||
raise unittest.SkipTest("missing source") | ||
|
||
|
@@ -46,7 +46,7 @@ def test_check_file_signature(self): | |
|
||
def test_check_file_signature_file_object(self): | ||
"""Tests the check_file_signature_file_object function.""" | ||
test_source = unittest.source | ||
test_source = getattr(unittest, "source", None) | ||
if not test_source: | ||
raise unittest.SkipTest("missing source") | ||
|
||
|
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfacquire testing script for (split) RAW image input | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfacquire testing script for optical disc (split) RAW image input | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfacquire resume testing script | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfacquirestream testing script | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfexport testing script | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfexport testing script for logical evidence files | ||
# | ||
|
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfinfo testing script | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfverify testing script | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# ewfverify testing script for logical evidence files | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# Library glob testing script | ||
# | ||
# Version: 20180317 | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# testing script | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# Expert Witness Compression Format (EWF) library read testing script | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# Expert Witness Compression Format (EWF) library read/write testing script | ||
# | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# Expert Witness Compression Format (EWF) library read/write testing script | ||
# | ||
|
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# | ||
# Expert Witness Compression Format (EWF) library write testing script | ||
# | ||
|