Warning, /testsuites/libtests/tar01/tar01.scn is written in an unsupported language. File is not indexed.
0001 *** BEGIN OF TEST TAR 1 ***
0002 *** TEST VERSION: 6.0.0.e1efb4eb8a9d6dd5f6f37dafc9feb0a9e6a888f1
0003 *** TEST STATE: EXPECTED_PASS
0004 *** TEST BUILD: RTEMS_POSIX_API
0005 *** TEST TOOLS: 10.3.1 20210409 (RTEMS 6, RSB ad54d1dd3cf8249d9d39deb1dd28b2f294df062d-modified, Newlib eb03ac1)
0006 Untaring from memory - untar: memory at 0x11ece8 (10240)
0007 untar: symlink: home/test_file -> symlink
0008 untar: file: home/test_file (s:73,m:0644)
0009 untar: file: home/abc/def/test_script (s:21,m:0755)
0010 untar: dir: home/dir
0011 untar: file: home/dir/file (s:12,m:0644)
0012 successful
0013 ========= /home/test_file =========
0014 (0)This is a test of loading an RTEMS filesystem from an
0015 initial tar image.
0016
0017 ========= /home/abc/def/test_script =========
0018 (0)#! joel
0019 ls -las /dev
0020
0021 /home/abc/def/test_script: mode: 0755 want: 0755
0022 ========= /symlink =========
0023 (0)This is a test of loading an RTEMS filesystem from an
0024 initial tar image.
0025
0026
0027 Copy tar image to test.tar
0028 Untaring from file - successful
0029 Untar from file into existing structure with one missing file - successful
0030 Untar from file; overwrite empty directory with file - successful
0031 Untar from file; file exists where parent dir should be created - expected fail
0032 Untar from file; non-empty dir where file should be created - expected fail
0033 Untar from file; overwrite file with explicit directory - successful
0034 ========= /dest/home/test_file =========
0035 (0)This is a test of loading an RTEMS filesystem from an
0036 initial tar image.
0037
0038 ========= /dest/home/abc/def/test_script =========
0039 (0)#! joel
0040 ls -las /dev
0041
0042 /dest/home/abc/def/test_script: mode: 0755 want: 0755
0043 ========= /dest/symlink =========
0044 (0)This is a test of loading an RTEMS filesystem from an
0045 initial tar image.
0046
0047
0048 Untaring chunks from memory - untar: symlink: home/test_file -> symlink
0049 untar: file: home/test_file (s:73,m:0644)
0050 untar: file: home/abc/def/test_script (s:21,m:0755)
0051 untar: dir: home/dir
0052 untar: file: home/dir/file (s:12,m:0644)
0053 successful
0054 ========= /dest2/home/test_file =========
0055 (0)This is a test of loading an RTEMS filesystem from an
0056 initial tar image.
0057
0058 ========= /dest2/home/abc/def/test_script =========
0059 (0)#! joel
0060 ls -las /dev
0061
0062 /dest2/home/abc/def/test_script: mode: 0755 want: 0755
0063 ========= /dest2/symlink =========
0064 (0)This is a test of loading an RTEMS filesystem from an
0065 initial tar image.
0066
0067
0068 Untaring chunks from tgz - successful
0069 ========= /dest3/home/test_file =========
0070 (0)This is a test of loading an RTEMS filesystem from an
0071 initial tar image.
0072
0073 ========= /dest3/home/abc/def/test_script =========
0074 (0)#! joel
0075 ls -las /dev
0076
0077 /dest3/home/abc/def/test_script: mode: 0755 want: 0755
0078 ========= /dest3/symlink =========
0079 (0)This is a test of loading an RTEMS filesystem from an
0080 initial tar image.
0081
0082
0083 *** END OF TEST TAR 1 ***