summaryrefslogtreecommitdiff
path: root/testsuite/tr/tr-works
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tr/tr-works')
-rw-r--r--testsuite/tr/tr-works4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tr/tr-works b/testsuite/tr/tr-works
index 9b2e90e..2c0a9d1 100644
--- a/testsuite/tr/tr-works
+++ b/testsuite/tr/tr-works
@@ -17,8 +17,10 @@ tr_test ()
run_tr " " '[:blank:]' 12
run_tr 'a b' '[= =]' X
run_tr "[:" '[:' ab
+ run_tr " .,:" '[:punct:]' 12
+ run_tr " .,:" '[:cntrl:]' 12
}
bb= tr_test > logfile.gnu
bb=busybox tr_test > logfile.bb
-cmp logfile.gnu logfile.bb
+diff -u logfile.gnu logfile.bb