diff options
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/libtests/Makefile.am | 8 | ||||
-rwxr-xr-x | testsuites/libtests/tar01/home/abc/def/test_script (renamed from testsuites/libtests/tar01/home/test_script) | 0 | ||||
-rw-r--r-- | testsuites/libtests/tar01/init.c | 30 |
3 files changed, 19 insertions, 19 deletions
diff --git a/testsuites/libtests/Makefile.am b/testsuites/libtests/Makefile.am index 9af8098062..a22e153c30 100644 --- a/testsuites/libtests/Makefile.am +++ b/testsuites/libtests/Makefile.am @@ -1288,9 +1288,9 @@ endif tar01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tar01) \ $(support_includes) $(test_includes) -I$(top_srcdir)/include tar01_LDADD = $(RTEMS_ROOT)cpukit/librtemscpu.a $(RTEMS_ROOT)cpukit/libz.a $(LDADD) -tar01.tar: Makefile +tar01.tar: $(srcdir)/tar01/home/test_file $(srcdir)/tar01/home/abc/def/test_script $(srcdir)/tar01/symlink @rm -f $@ - $(AM_V_GEN)$(PAX) -w -f $@ -s ,$(srcdir)/tar01/,, $(srcdir)/tar01/home $(srcdir)/tar01/symlink + $(AM_V_GEN)$(PAX) -w -f $@ -s ,$(srcdir)/tar01/,, $+ tar01-tar.c: tar01.tar $(AM_V_GEN)$(BIN2C) -C $< $@ tar01-tar.h: tar01.tar @@ -1327,9 +1327,9 @@ tar02_SOURCES = tar02/init.c ../psxtests/psxfile01/test_cat.c \ tar02-tar.c tar02-tar.h tar02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_tar02) \ $(support_includes) $(test_includes) -I$(top_srcdir)/include -tar02.tar: Makefile +tar02.tar: $(srcdir)/tar01/home/test_file $(srcdir)/tar01/home/abc/def/test_script $(srcdir)/tar01/symlink @rm -f $@ - $(AM_V_GEN)$(PAX) -w -f $@ -s ,$(srcdir)/tar01/,, $(srcdir)/tar01/home $(srcdir)/tar01/symlink + $(AM_V_GEN)$(PAX) -w -f $@ -s ,$(srcdir)/tar01/,, $+ tar02-tar.c: tar02.tar $(AM_V_GEN)$(BIN2C) -C $< $@ tar02-tar.h: tar02.tar diff --git a/testsuites/libtests/tar01/home/test_script b/testsuites/libtests/tar01/home/abc/def/test_script index 884924820b..884924820b 100755 --- a/testsuites/libtests/tar01/home/test_script +++ b/testsuites/libtests/tar01/home/abc/def/test_script diff --git a/testsuites/libtests/tar01/init.c b/testsuites/libtests/tar01/init.c index 8891911288..371ea71920 100644 --- a/testsuites/libtests/tar01/init.c +++ b/testsuites/libtests/tar01/init.c @@ -85,9 +85,9 @@ void test_untar_from_memory(void) test_cat( "/home/test_file", 0, 0 ); /******************/ - printf( "========= /home/test_script =========\n" ); - test_cat( "/home/test_script", 0, 0 ); - test_untar_check_mode("/home/test_script", 0755); + printf( "========= /home/abc/def/test_script =========\n" ); + test_cat( "/home/abc/def/test_script", 0, 0 ); + test_untar_check_mode("/home/abc/def/test_script", 0755); /******************/ printf( "========= /symlink =========\n" ); @@ -133,9 +133,9 @@ void test_untar_from_file(void) test_cat( "/dest/home/test_file", 0, 0 ); /******************/ - printf( "========= /dest/home/test_script =========\n" ); - test_cat( "/dest/home/test_script", 0, 0 ); - test_untar_check_mode("/dest/home/test_script", 0755); + printf( "========= /dest/home/abc/def/test_script =========\n" ); + test_cat( "/dest/home/abc/def/test_script", 0, 0 ); + test_untar_check_mode("/dest/home/abc/def/test_script", 0755); /******************/ printf( "========= /dest/symlink =========\n" ); @@ -179,9 +179,9 @@ void test_untar_chunks_from_memory(void) test_cat( "/dest2/home/test_file", 0, 0 ); /******************/ - printf( "========= /dest2/home/test_script =========\n" ); - test_cat( "/dest2/home/test_script", 0, 0 ); - test_untar_check_mode("/dest2/home/test_script", 0755); + printf( "========= /dest2/home/abc/def/test_script =========\n" ); + test_cat( "/dest2/home/abc/def/test_script", 0, 0 ); + test_untar_check_mode("/dest2/home/abc/def/test_script", 0755); /******************/ printf( "========= /dest2/symlink =========\n" ); @@ -225,9 +225,9 @@ void test_untar_unzip_tgz(void) test_cat( "/dest3/home/test_file", 0, 0 ); /******************/ - printf( "========= /dest3/home/test_script =========\n" ); - test_cat( "/dest3/home/test_script", 0, 0 ); - test_untar_check_mode("/dest3/home/test_script", 0755); + printf( "========= /dest3/home/abc/def/test_script =========\n" ); + test_cat( "/dest3/home/abc/def/test_script", 0, 0 ); + test_untar_check_mode("/dest3/home/abc/def/test_script", 0755); /******************/ printf( "========= /dest3/symlink =========\n" ); @@ -275,9 +275,9 @@ void test_untar_unzip_txz(void) test_cat( "/dest4/home/test_file", 0, 0 ); /******************/ - printf( "========= /dest4/home/test_script =========\n" ); - test_cat( "/dest4/home/test_script", 0, 0 ); - test_untar_check_mode("/dest4/home/test_script", 0755); + printf( "========= /dest4/home/abc/def/test_script =========\n" ); + test_cat( "/dest4/home/abc/def/test_script", 0, 0 ); + test_untar_check_mode("/dest4/home/abc/def/test_script", 0755); /******************/ printf( "========= /dest4/symlink =========\n" ); |