diff --git a/tests/snapshots/copy.sh b/tests/snapshots/copy.sh deleted file mode 100755 index c09d9a3c845..00000000000 --- a/tests/snapshots/copy.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash -BEFORE=$1 -AFTER=$2 -if [ -z "${BEFORE}" ] || [ -z "${AFTER}" ]; then - echo "Copy a snapshot" - echo - echo "Run this from the snapshots directory, using the base name for the snapshots" - echo - echo "Usage: $0 " - exit 1 -fi - -IN_LINK=$(readlink $1.in) -if [ -n "${IN_LINK}" ]; then - echo "Linking to '${IN_LINK}'" - ln -s ${IN_LINK} $2.in -elif [ -e "$1.in" ]; then - echo "Copying '$1.in'" - cp -r $1.in $2.in -else - echo "No '$1.in'" -fi -if [ -e "$1.out" ]; then - echo "Copying '$1.out'" - cp -r $1.out $2.out -else - echo "No '$1.out'" -fi -if [ -e "$1.stdout" ]; then - echo "Copying '$1.stdout'" - cp -r $1.stdout $2.stdout -else - echo "No '$1.stdout'" -fi -if [ -e "$1.stderr" ]; then - echo "Copying '$1.stderr'" - cp -r $1.stderr $2.stderr -else - echo "No '$1.stderr'" -fi -git add $2.* diff --git a/tests/snapshots/rename.sh b/tests/snapshots/rename.sh deleted file mode 100755 index 4c854f5ac62..00000000000 --- a/tests/snapshots/rename.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env bash -BEFORE=$1 -AFTER=$2 -if [ -z "${BEFORE}" ] || [ -z "${AFTER}" ]; then - echo "Rename a snapshot" - echo - echo "Run this from the snapshots directory, using the base name for the snapshots" - echo - echo "Usage: $0 " - exit 1 -fi - -if [ -e "$1.stdout" ]; then - echo "Renaming '$1.in" - mv $1.in $2.in -else - echo "No '$1.in'" -fi -if [ -e "$1.stdout" ]; then - echo "Renaming '$1.out" - mv $1.out $2.out -else - echo "No '$1.out'" -fi -if [ -e "$1.stdout" ]; then - echo "Renaming '$1.stdout" - mv $1.stdout $2.stdout -else - echo "No '$1.stdout'" -fi -if [ -e "$1.stderr" ]; then - echo "Renaming '$1.stderr'" - mv $1.stderr $2.stderr -else - echo "No '$1.stderr'" -fi -git add $2.*