CVS log for src/tests/usr.bin/printf/printf.sh
Up to [cvs.NetBSD.org] / src / tests / usr.bin / printf
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 24 20:50:20 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
fix various typos in comment, documentation and log messages.
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:23 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +23 -23
lines
sync with head
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 19 22:45:49 2021 UTC (3 years, 6 months ago) by kre
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +19 -19
lines
With the (very) recent changes to printf(1), a numeric conversion from data
of the form '+1 (two (or more) characters after the quote) will now generate
an error message, and cause printf(1) to exit(1) when it is done.
Adapt the test cases which use that data form to handle that.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed May 19 22:20:34 2021 UTC (3 years, 6 months ago) by kre
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5
lines
Fix a truly embarrassing quoting screwup. There is an explanation as
to why this didn't cause any failures, but I won't go into it here.
This was detected by the about to be committed printf changes.
While here also correct a couple of minor comment layout issues.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Apr 24 14:29:19 2020 UTC (4 years, 7 months ago) by kre
Branches: MAIN
CVS tags: cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
ATF runs shell script tests with "sh -e" (WHY???)
Compensate for that by adding an explicit test to a command so
-e will not kill the shell when the command (expectedly) fails.
Previously this was saved by /bin/sh disabling -e in command subs.
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:33 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +18 -21
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 12 18:59:51 2019 UTC (5 years ago) by kre
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
Add a missing ("quoting") '>' in an atf_fail error message string.
Since the tests don't (usually) fail no-one ever noticed the missing char.
That is, the "received this" and "expected this" strings were supposed
to appear in the output err message as "<<string>>" but one of those
closing '>' chars was missing.
No-one should ever notice this change in normal operation, as the tests
are not intended to fail.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jul 21 15:25:59 2019 UTC (5 years, 4 months ago) by kre
Branches: MAIN
CVS tags: netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +17 -20
lines
Stop assuming that printf handles options in any way at all
(it doesn't - that is, shouldn't) which includes processing -- as an
"end of options". The first arg is (always) the format string.
Remove/fix tests that assumed the contrary.
Problem (with printf) pointed out on tech-userlevel by Thierry Laronde.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:12 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +1805 -0
lines
Sync with HEAD
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:58 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +32 -8
lines
Ssync with HEAD
Revision 1.3.2.1
Fri Sep 14 19:57:57 2018 UTC (6 years, 2 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.3: +0 -1805
lines
file printf.sh was added on branch phil-wifi on 2019-06-10 22:10:12 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Sep 14 19:57:57 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930
Branch point for: phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +23 -8
lines
Move the tests of character value args to floating conversions
out of the %e test and into the NetBSD specific tests, while POSIX
once (apparently) required (or seemed to require) support for that,
it no longer does (and character value args to float conversions do
not make much sense - char valuse are always integers).
When char conversions are supported, test that \' (or \" ) (that is,
no character following the quote) works as an arg (should result in zero,
as there's a \0 in the arg after the quote char).
Add some big/small number %g conversion tests.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Sep 10 15:02:11 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +10 -1
lines
Add a test where printf is run twice in the same shell, and the
first invocation uses \c in a %b arg - make sure that 2nd invocation
is not affected by that (it was until recently, for a very long time).
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:49 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +1781 -0
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.1.2.1
Wed Sep 5 21:05:40 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.1: +0 -1781
lines
file printf.sh was added on branch pgoyette-compat on 2018-09-06 06:56:49 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Sep 5 21:05:40 2018 UTC (6 years, 3 months ago) by kre
Branches: MAIN
CVS tags: pgoyette-compat-0906
Branch point for: pgoyette-compat
Add ATF tests for printf(1)
Two new test programs, one for the version of printf in /bin/sh
and one for the command /usr/bin/printf (t_builtin and t_command)
Each test program has 28 test cases (the same in each) of which
currently 27 pass, and 1 is skipped.
See the test scripts themselves for more information.
CVSweb <webmaster@jp.NetBSD.org>