aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-19 04:05:28 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-19 04:05:28 +0000
commitfc9fc1f9292861cd1621d884338a766289acdf4a (patch)
tree0a2b0dd81d994e73f77174665dfb3e68e611471e /testsuite
parent74f8208f1896ceb2828a84d93999584a8407565b (diff)
downloadbusybox-w32-fc9fc1f9292861cd1621d884338a766289acdf4a.tar.gz
busybox-w32-fc9fc1f9292861cd1621d884338a766289acdf4a.tar.bz2
busybox-w32-fc9fc1f9292861cd1621d884338a766289acdf4a.zip
apply all post 1.10.0 fixes
bump version to 1.10.1
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tail/tail-n-works8
-rw-r--r--testsuite/tail/tail-works8
-rwxr-xr-xtestsuite/taskset.tests4
3 files changed, 10 insertions, 10 deletions
diff --git a/testsuite/tail/tail-n-works b/testsuite/tail/tail-n-works
index 27a905f88..e5b260caf 100644
--- a/testsuite/tail/tail-n-works
+++ b/testsuite/tail/tail-n-works
@@ -1,4 +1,4 @@
1[ -n "$d" ] || d=.. 1echo -ne "abc\ndef\n123\n" >input
2tail -n 2 "$d/README" > logfile.gnu 2echo -ne "def\n123\n" >logfile.ok
3busybox tail -n 2 "$d/README" > logfile.bb 3busybox tail -n 2 input > logfile.bb
4cmp logfile.gnu logfile.bb 4cmp logfile.ok logfile.bb
diff --git a/testsuite/tail/tail-works b/testsuite/tail/tail-works
index 27a905f88..64e6d88ab 100644
--- a/testsuite/tail/tail-works
+++ b/testsuite/tail/tail-works
@@ -1,4 +1,4 @@
1[ -n "$d" ] || d=.. 1echo -ne "abc\ndef\n123\n" >input
2tail -n 2 "$d/README" > logfile.gnu 2echo -ne "def\n123\n" >logfile.ok
3busybox tail -n 2 "$d/README" > logfile.bb 3busybox tail -2 input > logfile.bb
4cmp logfile.gnu logfile.bb 4cmp logfile.ok logfile.bb
diff --git a/testsuite/taskset.tests b/testsuite/taskset.tests
index 6001c3e32..a3757ab5b 100755
--- a/testsuite/taskset.tests
+++ b/testsuite/taskset.tests
@@ -7,8 +7,8 @@
7a="taskset" 7a="taskset"
8 8
9# testing "test name" "opts" "expected result" "file inp" "stdin" 9# testing "test name" "opts" "expected result" "file inp" "stdin"
10testing "taskset (get from pid 1)" "$a -p1 >/dev/null;echo \$?" "0\n" "" "" 10testing "taskset (get from pid 1)" "$a -p 1 >/dev/null;echo \$?" "0\n" "" ""
11testing "taskset (invalid pid)" "$a -p0 >/dev/null 2>&1;echo \$?" "1\n" "" "" 11testing "taskset (invalid pid)" "$a -p 0 >/dev/null 2>&1;echo \$?" "1\n" "" ""
12testing "taskset (set_aff, needs CAP_SYS_NICE)" \ 12testing "taskset (set_aff, needs CAP_SYS_NICE)" \
13 "$a 0x1 $SHELL -c $a\ -p\ \$$\|grep\ \"current\ affinity\ mask:\ 1\" >/dev/null;echo \$?" \ 13 "$a 0x1 $SHELL -c $a\ -p\ \$$\|grep\ \"current\ affinity\ mask:\ 1\" >/dev/null;echo \$?" \
14 "0\n" "" "" 14 "0\n" "" ""