bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU sharutils 4.5.1


From: John T. Rose
Subject: GNU sharutils 4.5.1
Date: Thu, 08 Sep 2005 12:21:29 CDT

I'm seeing the shar-2 test fail, although the archive just
appears to be in an unexpected order but is otherwise sound.

# make check
make  check-TESTS
make[1]: Entering directory 
`/usr/mnt.rom/cf/.ipkg/src/sharutils/sharutils-4.5.1/tests'
PASS: uutest-1
PASS: uude-1
PASS: shar-1
11d10
< #     26 -rw-r--r-- first
13a13
> #     26 -rw-r--r-- first
138,159d137
< # ============= first ==============
< if test -f 'first' && test "$first_param" != -c; then
<   $echo 'x -' SKIPPING 'first' '(file already exists)'
< else
<   $echo 'x -' extracting 'first' '(text)'
<   sed 's/^X//' << 'SHAR_EOF' > 'first' &&
< This file is shar-2/first
< SHAR_EOF
<   chmod 0644 'first' ||
<   $echo 'restore of' 'first' 'failed'
<   if ${md5check}
<   then (
<        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'first:' 'MD5 check failed'
<        ) << SHAR_EOF
< ea3fd3fa10eec31c2132f596b3bff69d  first
< SHAR_EOF
<   else
<     shar_count="`LC_ALL=C wc -c < 'first'`"
<     test 26 -eq "$shar_count" ||
<     $echo 'first:' 'original size' '26,' 'current size' "$shar_count!"
<   fi
< fi
216a195,216
> # ============= first ==============
> if test -f 'first' && test "$first_param" != -c; then
>   $echo 'x -' SKIPPING 'first' '(file already exists)'
> else
>   $echo 'x -' extracting 'first' '(text)'
>   sed 's/^X//' << 'SHAR_EOF' > 'first' &&
> This file is shar-2/first
> SHAR_EOF
>   chmod 0644 'first' ||
>   $echo 'restore of' 'first' 'failed'
>   if ${md5check}
>   then (
>        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'first:' 'MD5 check failed'
>        ) << SHAR_EOF
> ea3fd3fa10eec31c2132f596b3bff69d  first
> SHAR_EOF
>   else
>     shar_count="`LC_ALL=C wc -c < 'first'`"
>     test 26 -eq "$shar_count" ||
>     $echo 'first:' 'original size' '26,' 'current size' "$shar_count!"
>   fi
> fi
FAIL: shar-2
======================================
1 of 4 tests failed
Please report to address@hidden
======================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory 
`/usr/mnt.rom/cf/.ipkg/src/sharutils/sharutils-4.5.1/tests'
make: *** [check-am] Error 2

# ll -R shar-2-16509.d
shar-2-16509.d:
total 16
-rw-r--r--  1 root root   26 Sep  8 12:08 first
drwxr-xr-x  2 root root 4096 Sep  8 12:08 one
-rw-r--r--  1 root root   93 Sep  8 12:08 second
drwxr-xr-x  2 root root 4096 Sep  8 12:08 two

shar-2-16509.d/one:
total 8
-rw-r--r--  1 root root  30 Sep  8 12:08 first
-rw-r--r--  1 root root 101 Sep  8 12:08 second

shar-2-16509.d/two:
total 8
-rw-r--r--  1 root root  30 Sep  8 12:08 first
-rw-r--r--  1 root root 101 Sep  8 12:08 second
# cd shar-2-16509.dir/
# sh ../shar-2-16509.shar
x - lock directory `_sh_PID_': created
x - one:
created
x - extracting one/first (text)
x - extracting one/second (binary)
x - two:
created
x - extracting two/first (text)
x - extracting two/second (binary)
x - extracting first (text)
x - extracting second (binary)
x - lock directory `_sh_PID_': removed
# cd ..
# diff -r shar-2-16509.d/ shar-2-16509.dir/
#

This "error" occurs on both an ARM system and an athlon so
I'm wondering if shar-2.ok is goofy?!

Thanks,
John
--
John T. Rose                         Information Technology Services
address@hidden                     Academic Systems Group
Systems Analyst                      237 Durham Center
<A HREF="http://rose.public.iastate.edu/";>John T. Rose</A>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]