fix_958_usr_bin_env_bash_test
This commit is contained in:
parent
50e9dd964a
commit
c12f91f90f
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,6 +10,7 @@
|
||||
.idea/*
|
||||
cmake-*
|
||||
build*
|
||||
asan_build*
|
||||
po/POTFILES
|
||||
po/remove-potcdate.sed
|
||||
po/stamp-po
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver to run the addmoddel sample program
|
||||
source ./functions.source
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver with regression tests for bugfixes
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# XMP parser test driver
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
@ -207,11 +207,11 @@ fi
|
||||
platform=$(runTest exiv2 -vV 2>/dev/null | grep platform=)
|
||||
if [ "$platform" == "platform=windows" ]; then
|
||||
runTest exiv2 -PEkycv v.jpg | sed -E -e 's#17 19:10:22#18 02:10:22#g'
|
||||
else
|
||||
else
|
||||
runTest exiv2 -PEkycv v.jpg
|
||||
fi
|
||||
runTest exiv2 -pi v.jpg
|
||||
|
||||
|
||||
# 16) https://github.com/Exiv2/exiv2/issues/521
|
||||
echo
|
||||
echo Testcase 16
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for CRW file operations
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for CurlIO
|
||||
|
||||
source ./functions.source
|
||||
@ -76,7 +76,7 @@ RemoteIOTest()
|
||||
if [[ "$USE_CURL" == *http* ]]; then
|
||||
# test connection
|
||||
printf 'http test connection '
|
||||
TEST_CON=$("$bin"/conntest http://$EXIV2_AWSUBUNTU_HOST/$testfile)
|
||||
TEST_CON=$("$bin"/conntest http://$EXIV2_AWSUBUNTU_HOST/$testfile)
|
||||
if [[ "$TEST_CON" == OK* ]]; then
|
||||
errors=0
|
||||
printf 'OK\nHTTP IO '
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for previews
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for EPS files
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for exifdata copy construction and assignment unit tests
|
||||
source ./functions.source
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for exiv2 utility tests
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for geotag
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for http/https
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for httptest and httpIo
|
||||
|
||||
source ./functions.source
|
||||
@ -36,12 +36,12 @@ httpIoTest()
|
||||
testfile="conntest.jpg"
|
||||
iopngfiles+=(remoteio{1..5}.png)
|
||||
iojpgfiles+=(remoteio{6..10}.jpg)
|
||||
|
||||
|
||||
# test connection (basic sanity test)
|
||||
printf 'http test connection '
|
||||
TEST_CON=$("$bin"/conntest http://$EXIV2_AWSUBUNTU_HOST/$testfile)
|
||||
if [[ "$TEST_CON" == OK* ]]; then
|
||||
#Tests for httpIo
|
||||
#Tests for httpIo
|
||||
printf 'OK\nHTTP IO '
|
||||
for name in ${iopngfiles[@]}; do
|
||||
httpIoTest "http://$EXIV2_AWSUBUNTU_HOST/$name"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for exiv2.exe ICC support (-pS, -pC, -eC, -iC)
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for image file i/o
|
||||
|
||||
# **********************************************************************
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for image file i/o
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for Iptc metadata
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# test for ISOs which follow Annex G of EXIF 2.3 spec, i.e. ISOs,
|
||||
# which cannot be represented by Exif.Photo.ISOSpeedRatings due to
|
||||
# being larger than 65k
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for write unit tests to build Exif metadata from scratch
|
||||
source ./functions.source
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Mini test-driver for path utility functions
|
||||
source ./functions.source
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for previews
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for SshIo
|
||||
|
||||
source ./functions.source
|
||||
@ -73,7 +73,7 @@ SshIOTest()
|
||||
# test connection
|
||||
printf 'sftp test connection '
|
||||
TEST_CON=$("$bin"/conntest sftp://"$EXIV2_AWSUBUNTU_USERNAME"_sftp:$EXIV2_AWSUBUNTU_PASSWORD@$EXIV2_AWSUBUNTU_HOST/var/www/$testfile)
|
||||
if [[ "$TEST_CON" == OK* ]]; then
|
||||
if [[ "$TEST_CON" == OK* ]]; then
|
||||
# SFTP protocol
|
||||
errors=0
|
||||
printf 'OK\nSFTP READ '
|
||||
@ -93,7 +93,7 @@ SshIOTest()
|
||||
# test connection
|
||||
printf 'ssh test connection '
|
||||
TEST_CON=$("$bin"/conntest ssh://$EXIV2_AWSUBUNTU_USERNAME:$EXIV2_AWSUBUNTU_PASSWORD@$EXIV2_AWSUBUNTU_HOST/sshtest/$testfile)
|
||||
if [[ "$TEST_CON" == OK* ]]; then
|
||||
if [[ "$TEST_CON" == OK* ]]; then
|
||||
# SSH protocol
|
||||
errors=0
|
||||
printf 'OK\nSSH IO '
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for stdin
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for tests of stringToLong/Float/Rational
|
||||
source ./functions.source
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
msvc=$1
|
||||
test=$2
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for exiv2.exe --verbose --version
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for video files
|
||||
#
|
||||
# video-asf.wmv http://www.educationalquestions.com/video/DLP_PART_2_768k.wmv
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for webp
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for the write unit tests
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for write video
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Test driver for write unit tests to build Exif metadata from scratch
|
||||
|
||||
source ./functions.source
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# XMP parser test driver
|
||||
|
||||
source ./functions.source
|
||||
|
||||
Loading…
Reference in New Issue
Block a user