]> git.wh0rd.org - patches.git/blob - genext2fs-integrate-tests.patch
more random patches. who knows.
[patches.git] / genext2fs-integrate-tests.patch
1 --- Makefile.am
2 +++ Makefile.am
3 @@ -2,11 +2,4 @@ bin_PROGRAMS = genext2fs
4 genext2fs_SOURCES = genext2fs.c
5 man_MANS = genext2fs.8
6 EXTRA_DIST = $(man_MANS)
7 -
8 -# test genext2fs by creating the image and comparing checksums
9 -test: all
10 - sh ./test.sh
11 -
12 -# test genext2fs by actually mounting the created image.
13 -test-mount: all
14 - sudo sh ./test-mount.sh
15 +TESTS = test.sh test-mount.sh
16 --- configure.in
17 +++ configure.in
18 @@ -35,5 +35,6 @@ AC_CHECK_FUNCS([getopt_long getline strt
19 AC_FUNC_SNPRINTF
20 AC_FUNC_SCANF_CAN_MALLOC
21
22 -AC_CONFIG_FILES([Makefile])
23 -AC_OUTPUT
24 +AC_OUTPUT([Makefile],[
25 +chmod a+x test-mount.sh test.sh
26 +])