find:: get rid of nested function (it's a gcc-ism)
[oweals/busybox.git] / testsuite / makedevs.tests
index f19af8a52bb7def1e12cae2fc8567b13b619aead..fd12460ec7d4b701a3e1d3d8d1ff6f7ce7c238b3 100755 (executable)
@@ -1,9 +1,14 @@
 #!/bin/sh
 # Copyright 2008 by Denys Vlasenko
-# Licensed under GPL v2, see file LICENSE for details.
+# Licensed under GPLv2, see file LICENSE in this source tree.
 
 . ./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