diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-07-30 08:46:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-07-30 08:46:13 +0000 |
commit | a7b7386772344ae55378aa1e9c8377488a58a6d7 (patch) | |
tree | 444cad474bc02607cb6b3658f303704b7f625fd2 /testsuites/libtests | |
parent | 2010-07-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-a7b7386772344ae55378aa1e9c8377488a58a6d7.tar.bz2 |
2010-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* tar01/Makefile.am:
Apply $LN_S, $PAX. Use subshell for tarball creation.
Don't add initial_fs to CLEANFILES.
* tar02/Makefile.am:
Apply $LN_S, $PAX. Use subshell for tarball creation.
Diffstat (limited to 'testsuites/libtests')
-rw-r--r-- | testsuites/libtests/ChangeLog | 8 | ||||
-rw-r--r-- | testsuites/libtests/tar01/Makefile.am | 7 | ||||
-rw-r--r-- | testsuites/libtests/tar02/Makefile.am | 5 |
3 files changed, 14 insertions, 6 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index 79976188d2..d48f003305 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,5 +1,13 @@ 2010-07-30 Ralf Corsépius <ralf.corsepius@rtems.org> + * tar01/Makefile.am: + Apply $LN_S, $PAX. Use subshell for tarball creation. + Don't add initial_fs to CLEANFILES. + * tar02/Makefile.am: + Apply $LN_S, $PAX. Use subshell for tarball creation. + +2010-07-30 Ralf Corsépius <ralf.corsepius@rtems.org> + * configure.ac: Add AC_PROG_LN_S. Add AC_PATH_PROG([PAX]). Add AM_CONDITIONAL(TARTESTS). diff --git a/testsuites/libtests/tar01/Makefile.am b/testsuites/libtests/tar01/Makefile.am index 4664c27810..585526cebc 100644 --- a/testsuites/libtests/tar01/Makefile.am +++ b/testsuites/libtests/tar01/Makefile.am @@ -40,10 +40,9 @@ initial_filesystem.tar: $(MKDIR_P) initial_fs/home (echo "This is a test of loading an RTEMS filesystem from an" ; \ echo "initial tar image.") >initial_fs/home/test_file - cd initial_fs && ln -s home/test_file symlink - cd initial_fs ; pax -w -f ../initial_filesystem.tar home symlink + (cd initial_fs; \ + $(LN_S) home/test_file symlink; \ + $(PAX) -w -f ../initial_filesystem.tar home symlink) CLEANFILES += initial_filesystem.tar -CLEANFILES += initial_fs - include $(top_srcdir)/../automake/local.am diff --git a/testsuites/libtests/tar02/Makefile.am b/testsuites/libtests/tar02/Makefile.am index c92945b58d..ab328fe19f 100644 --- a/testsuites/libtests/tar02/Makefile.am +++ b/testsuites/libtests/tar02/Makefile.am @@ -40,8 +40,9 @@ initial_filesystem.tar: $(MKDIR_P) initial_fs/home (echo "This is a test of loading an RTEMS filesystem from an" ; \ echo "initial tar image.") >initial_fs/home/test_file - cd initial_fs && ln -s home/test_file symlink - cd initial_fs ; pax -w -f ../initial_filesystem.tar home symlink + (cd initial_fs; \ + $(LN_S) home/test_file symlink + $(PAX) -w -f ../initial_filesystem.tar home symlink) CLEANFILES += initial_filesystem.tar include $(top_srcdir)/../automake/local.am |