On 09/01/11 15:06, Kevin Brott wrote: > 3. options.at:24: testing ... > ./options.at:27: > echo > file1 > TAR_OPTIONS=--numeric-owner tar chof archive file1 > tar tf archive > > Not enabling shell tracing (command contains an embedded newline) > --- /dev/null 2011-09-01 14:52:31 -0700 > +++ /lppdir/build/phs-gtar/phs-gtar/tests/testsuite.dir/at-groups/3/stderr > 2011-09-01 14:52:34 -0700 > @@ -0,0 +1,2 @@ > +tar: file1: Cannot stat: Invalid argument
Let's start with that one first, as it's likely related to fstatat. This test is in tests/options.at. What's the output of the following shell commands (assuming Bash), using the newly-built 'tar'? echo > file1 TAR_OPTIONS=--numeric-owner truss ./tar chof archive file1
