summaryrefslogtreecommitdiffstats
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2016-07-22 08:20:28 +0200
committerPavel Raiskup <praiskup@redhat.com>2016-07-22 08:20:28 +0200
commit3fcfb0e1f4cf535ce3356ecef32a21a9e9fc27b5 (patch)
tree21edbc3325b8df4933e943d257e685862ff890ae /tests/testsuite.at
parent300dc14017f27bc2ea79c0bb01a627d84d7790f6 (diff)
downloadpostgresql-setup-master.tar.gz
postgresql-setup-master.tar.xz
postgresql-setup-master.zip
Move the repo to github.HEADmaster
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
deleted file mode 100644
index 970a414..0000000
--- a/tests/testsuite.at
+++ /dev/null
@@ -1,36 +0,0 @@
-AT_INIT
-AT_COLOR_TESTS
-
-m4_define([gen_file_list], [$abs_top_builddir/$TEST_GEN_FILES_LIST])
-
-AT_SETUP([Files instantiated correctly])
-AT_CHECK([
-test -f "gen_file_list" || { echo "no such file 'gen_file_list'" ; exit 1 ; }
-
-pattern='@[[a-zA-Z0-9_]]*@'
-
-while read file; do
- file=$abs_top_builddir/$file
- grep $pattern $file && echo "file $file is incomplete" && exit 1
-done < gen_file_list
-
-exit 0
-])
-AT_CLEANUP
-
-AT_SETUP([Basic bash syntax check])
-AT_CHECK([file_list=$abs_top_builddir/$TEST_GEN_FILES_LIST
-while read file; do
- file=$abs_top_builddir/$file
- line="`head -1 $file`"
- case "$line" in
- "#!/bin/bash")
- bash -n $file || exit 1
- ;;
- "#!/bin/sh")
- sh -n $file || exit 1
- ;;
- esac
-done < gen_file_list
-])
-AT_CLEANUP