summaryrefslogtreecommitdiff
path: root/tests/misc/time-style.sh
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2017-08-28 21:51:37 -0700
committerPádraig Brady <P@draigBrady.com>2017-08-29 00:37:59 -0700
commit26860526670566d9b0ea42ff27fa73668b9a19da (patch)
tree5c1d0b20fd14d54fedfd8eb81ed43eb9579c754e /tests/misc/time-style.sh
parenta19ff5d8179a7de38109fc78278229fd96f3941a (diff)
downloadcoreutils-26860526670566d9b0ea42ff27fa73668b9a19da.tar.gz
tests: don't fail tests when failing to write files
* tests/sample-test: Use framework_error_ rather than fail=1 * tests/chown/deref.sh: Likewise. * tests/chown/preserve-root.sh: Likewise. * tests/cp/src-base-dot.sh: Likewise. * tests/dd/unblock-sync.sh: Likewise. * tests/du/2g.sh: Likewise. * tests/du/inacc-dest.sh: Likewise. * tests/du/one-file-system.sh: Likewise. * tests/fmt/goal-option.sh: Likewise. * tests/ln/hard-backup.sh: Likewise. * tests/ls/color-dtype-dir.sh: Likewise. * tests/ls/m-option.sh: Likewise. * tests/ls/stat-dtype.sh: Likewise. * tests/ls/time-style-diag.sh: Likewise. * tests/ls/x-option.sh: Likewise. * tests/misc/chcon.sh: Likewise. * tests/misc/nohup.sh: Likewise. * tests/misc/od-N.sh: Likewise. * tests/misc/sort-compress.sh: Likewise. * tests/misc/tac-continue.sh: Likewise. * tests/misc/time-style.sh: Likewise. * tests/mv/backup-dir.sh: Likewise. * tests/mv/dir2dir.sh: Likewise. * tests/rm/dir-no-w.sh: Likewise. * tests/rm/dir-nonrecur.sh: Likewise. * tests/rm/inaccessible.sh: Likewise. * tests/rm/interactive-always.sh: Likewise. * tests/rm/interactive-once.sh: Likewise. * tests/rm/rm3.sh: Likewise. * tests/rm/v-slash.sh: Likewise. * tests/touch/relative.sh: Likewise.
Diffstat (limited to 'tests/misc/time-style.sh')
-rwxr-xr-xtests/misc/time-style.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/time-style.sh b/tests/misc/time-style.sh
index ec1d4ab67..1a88dc66d 100755
--- a/tests/misc/time-style.sh
+++ b/tests/misc/time-style.sh
@@ -42,7 +42,7 @@ sed 's/[^ ]* //' duout >dued || framework_failure_
sed 's/[^ ]* *[^ ]* *[^ ]* *[^ ]* *//' lsout >lsed || framework_failure_
sed '/^$/d' prout >pred || framework_failure_
-cat <<\EOF > duexp || fail=1
+cat <<\EOF > duexp || framework_failure_
1970-07-08 09:10:11.000000000 +0000 a
1970-07-08 09:10 a
1970-07-08 a
@@ -65,7 +65,7 @@ cat <<\EOF > duexp || fail=1
%bJul%bJul a
EOF
-cat <<\EOF > lsexp || fail=1
+cat <<\EOF > lsexp || framework_failure_
1970-07-08 09:10:11.000000000 +0000 a
1970-07-08 09:10 a
1970-07-08 a
@@ -92,7 +92,7 @@ Jul 8 1970 a
%bJul%bJul a
EOF
-cat <<\EOF > prexp || fail=1
+cat <<\EOF > prexp || framework_failure_
+1970-07-08 09:10:11 +0000 (UTC) a Page 1
hello
+%bJul%bJul a Page 1