summaryrefslogtreecommitdiff
path: root/testsuite/makedevs.tests
diff options
context:
space:
mode:
authorDan Fandrich2010-09-02 18:38:00 -0700
committerDenys Vlasenko2010-09-03 17:09:51 +0200
commiteb2bf5b6bfd04f7e123d7561725b00f807486849 (patch)
treefe88db7e8ac340c4e8e1c9f3f62dee70e49021f5 /testsuite/makedevs.tests
parent2ab3acb2747f43892641176491b0a0c09f11f086 (diff)
downloadbusybox-eb2bf5b6bfd04f7e123d7561725b00f807486849.zip
busybox-eb2bf5b6bfd04f7e123d7561725b00f807486849.tar.gz
Fix some test cases
The tar tests still don't pass, but at least now it's because of a problem with Busybox and not the tests themselves. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'testsuite/makedevs.tests')
-rwxr-xr-xtestsuite/makedevs.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/makedevs.tests b/testsuite/makedevs.tests
index eb51410..fd12460 100755
--- a/testsuite/makedevs.tests
+++ b/testsuite/makedevs.tests
@@ -4,6 +4,11 @@
. ./testing.sh
+test x"`id -u`" = x"0" || {
+ echo "SKIPPED: makedevs (must be root to test this)"
+ exit 0
+}
+
unset LANG
unset LC_COLLATE
unset LC_ALL