Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/uu/df/src/df.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore itotal iused iavail ipcent pcent tmpfs squashfs lofs sysfs

mod blocks;
mod columns;
mod filesystem;
Expand Down
1 change: 0 additions & 1 deletion src/uu/du/src/du.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore fstatat openat dirfd

use clap::{Arg, ArgAction, ArgMatches, Command, builder::PossibleValue};
Expand Down
1 change: 0 additions & 1 deletion src/uu/env/src/split_iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// This file is based on work from Tomasz Miąsko who published it as "shell_words" crate,
// licensed under the Apache License, Version 2.0 <LICENSE-APACHE>
// or the MIT license <LICENSE-MIT>, at your option.
Expand Down
2 changes: 1 addition & 1 deletion src/uu/env/src/string_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore (words) FFFD

#![forbid(unsafe_code)]

use std::{borrow::Cow, ffi::OsStr};
Expand Down
1 change: 1 addition & 0 deletions src/uu/head/src/take.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

//! Take all but the last elements of an iterator.

use memchr::memchr_iter;
use std::collections::VecDeque;
use std::io::{ErrorKind, Read, Write};
Expand Down
2 changes: 0 additions & 2 deletions src/uu/pr/src/pr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//

// spell-checker:ignore (ToDO) adFfmprt, kmerge

use clap::{Arg, ArgAction, ArgMatches, Command};
Expand Down
1 change: 1 addition & 0 deletions src/uu/wc/src/utf8/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore Sapin

mod read;

pub use read::{BufReadDecoder, BufReadDecoderError};
Expand Down
1 change: 0 additions & 1 deletion src/uucore/src/lib/features/systemd_logind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore logind libsystemd btime unref RAII testuser GETPW sysconf

//! Systemd-logind support for reading login records
Expand Down
1 change: 0 additions & 1 deletion src/uucore/src/lib/features/utmpx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore IDLEN logind

//! Aims to provide platform-independent methods to obtain login records
Expand Down
2 changes: 1 addition & 1 deletion src/uucore_procs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore SIGSEGV

//! A collection of procedural macros for uutils.

#![deny(missing_docs)]

use proc_macro::TokenStream;
Expand Down
1 change: 0 additions & 1 deletion tests/by-util/test_base32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
#[cfg(unix)]
use uutests::at_and_ucmd;
use uutests::new_ucmd;
Expand Down
1 change: 1 addition & 0 deletions tests/by-util/test_chcon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore (jargon) xattributes

#![allow(clippy::missing_errors_doc, clippy::similar_names)]
#![cfg(all(feature = "selinux", any(target_os = "linux", target_os = "android")))]

Expand Down
2 changes: 2 additions & 0 deletions tests/by-util/test_chown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
// file that was distributed with this source code.

// spell-checker:ignore (words) agroupthatdoesntexist auserthatdoesntexist cuuser groupname notexisting passgrp

#[cfg(all(unix, not(target_os = "openbsd")))]
use std::os::unix::fs::MetadataExt;
use uutests::util::{CmdResult, TestScenario, is_ci, run_ucmd_as_root};
use uutests::util_name;
use uutests::{at_and_ucmd, new_ucmd};

// Apparently some CI environments have configuration issues, e.g. with 'whoami' and 'id'.
// If we are running inside the CI and "needle" is in "stderr" skipping this test is
// considered okay. If we are not inside the CI this calls assert!(result.success).
Expand Down
1 change: 0 additions & 1 deletion tests/by-util/test_date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker: ignore: AEDT AEST EEST NZDT NZST Kolkata Iseconds févr février janv janvier mercredi samedi sommes juin décembre Januar Juni Dezember enero junio diciembre gennaio giugno dicembre junho dezembro lundi dimanche Montag Sonntag Samstag sábado febr MEST MESZ KST uueuu ueuu vasárnap június január distros
// spell-checker: ignore: uppercases

Expand Down
1 change: 1 addition & 0 deletions tests/by-util/test_df.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore udev pcent iuse itotal iused ipcent binfmt

#![allow(
clippy::similar_names,
clippy::cast_possible_truncation,
Expand Down
1 change: 1 addition & 0 deletions tests/by-util/test_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore (words) bamf chdir rlimit prlimit COMSPEC cout cerr FFFD winsize xpixel ypixel Secho sighandler putenv

#![allow(clippy::missing_errors_doc)]

#[cfg(unix)]
Expand Down
3 changes: 2 additions & 1 deletion tests/by-util/test_expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

// spell-checker:ignore (ToDO) taaaa tbbbb tcccc

use uucore::display::Quotable;
use uutests::new_ucmd;
// spell-checker:ignore (ToDO) taaaa tbbbb tcccc

#[test]
fn test_invalid_arg() {
Expand Down
1 change: 1 addition & 0 deletions tests/by-util/test_ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

// spell-checker:ignore (words) READMECAREFULLY birthtime doesntexist oneline somebackup lrwx somefile somegroup somehiddenbackup somehiddenfile tabsize aaaaaaaa bbbb cccc dddddddd ncccc neee naaaaa nbcdef nfffff dired subdired tmpfs mdir COLORTERM mexe bcdef mfoo timefile
// spell-checker:ignore (words) fakeroot setcap drwxr bcdlps mdangling mentry awith acolons NOFILE NOTCAPABLE

#![allow(
clippy::similar_names,
clippy::too_many_lines,
Expand Down
1 change: 0 additions & 1 deletion tests/by-util/test_mv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore mydir hardlinked tmpfs notty unwriteable myfolder SRCDATA DSTDATA REALDATA
// spell-checker:ignore dirattr dirvalue setfattr getfattr

Expand Down
1 change: 1 addition & 0 deletions tests/by-util/test_nice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore getpriority setpriority

#[cfg(unix)]
use uutests::new_ucmd;

Expand Down
1 change: 0 additions & 1 deletion tests/by-util/test_nl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore binvalid finvalid hinvalid iinvalid linvalid nabcabc nabcabcabc ninvalid vinvalid winvalid dabc näää févr

use uutests::{at_and_ucmd, new_ucmd, util::TestScenario, util_name};
Expand Down
1 change: 1 addition & 0 deletions tests/by-util/test_nohup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore winsize Openpty openpty xpixel ypixel ptyprocess

#[cfg(unix)]
use std::thread::sleep;
use uutests::new_ucmd;
Expand Down
1 change: 0 additions & 1 deletion tests/by-util/test_readlink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore regfile parentdir

use uutests::util::{TestScenario, get_root_path};
Expand Down
1 change: 1 addition & 0 deletions tests/by-util/test_rm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore rootlink dotdot rootfile deleteme keepme topfile

#![allow(clippy::stable_sort_primitive)]

use std::process::Stdio;
Expand Down
1 change: 1 addition & 0 deletions tests/by-util/test_tac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file that was distributed with this source code.

// spell-checker:ignore axxbxx bxxaxx axxx axxxx xxaxx xxax xxxxa axyz zyax zyxa bbaaa aaabc bcdddd cddddaaabc xyzabc abcxyzabc nbbaaa EISDIR SIGBUS mmap

#[cfg(unix)]
use uutests::at_and_ucmd;
use uutests::new_ucmd;
Expand Down
1 change: 0 additions & 1 deletion tests/by-util/test_unexpand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore contenta edgecase behaviour tcaf

use uutests::{at_and_ucmd, new_ucmd};
Expand Down
2 changes: 1 addition & 1 deletion tests/by-util/test_uptime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//
// spell-checker:ignore utmp runlevel testusr testx boottime

#![allow(clippy::cast_possible_wrap, clippy::unreadable_literal)]

#[cfg(unix)]
Expand Down
2 changes: 0 additions & 2 deletions tests/test_localization_and_colors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

//

use std::collections::HashSet;
use std::env;
use std::process::Command;
Expand Down
Loading